secureMode | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Disables the application's ability to access files and run programs. | ||||||
Introduced | 1.0 | ||||||
Changes | In version 9.5 the loading of extensions was added to the secureMode restrictions. | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: file Property: securityPermissions, securityCategories Command: write to file, open file, put, launch, open process, read from file, get, load extension Function: shell, files, deleteRegistry, setRegistry, queryRegistry Control Structure: function Glossary: property, stack file, Windows, web server, keyword, registry, function, command, application | ||||||
Description | Use the secureMode property to lock down file access in situations where security is required: for example, for a kiosk application or web server. If the secureMode property is set to true, the application cannot use the get, put, open file, read from file, or write to file commands to gain access to local files. The application cannot run programs with the shell function, the open process command, or the launch command. On Windowssystems, it cannot use the deleteRegistry, queryRegistry, or setRegistry functions to access the Windows system registry. The application cannot access remote files with the URL keyword. The application can open (but not save) stack files. If the application is started from a Unix or Windows command line, this property can be set to true on startup by using the -f option. The application also can not use the load extension command to load an extension from a file or data.
| ||||||
Tags | file system |