Accessing the File System in Script
Various methods allow your script to interact with or run commands on the operating system, file system, and other software running on the Siebel Server. You must explicitly allow this by setting System Preferences. This does not mean that the Siebel script is allowed/disallowed executing, it means that certain statements within those script can be denied access to the operating system. The script will still run, but, if access to the operating system is disallowed, a runtime error will occur when the lines that attempt to access the operating system are encountered at runtime.
These two system preferences can be set and used independently.
Runtime Scripts System Access (default is false)
A Runtime Script is the script that you write in the Administration - Business Service Screen. Since these Business Service Methods are not compiled, they are less secure. Not all client-side Business Services need to access the file system to run commands, but if yours do, you must explicitly allow them access to the file system by adding this System Preference and setting its value to true.
Compiled Scripts System Access (default is true)
The Business Service Script that you write in Web Tools or Siebel Tools is compiled. By default, these methods are allowed to access the file system and run commands such as GetObject. If you want to disallow any compiled Business Service Script from accessing the file system and running commands on it you must add this System Preference and set its value to false.
- GetObject
- Open/Close/Kill/Dir and all File methods
- Clipboard
- SendKeys