EMSE Security Control
Topics:
EMSE Security Control methods
These methods are available for the EMSE Security Control:
writeToFile
anddeleteFile
- In the ServerConfig.properties file, the configuration propertyav.emse.file.path={EMSE file path on application server}
restricts access to the server for these methods.newInstance
- The EMSESecurityConfig.properties file contains a black list that restricts the class instances created by this method.
Note: The EMSE Security Control overrides the behavior of existing EMSE scripts that call the
writeToFile
, deleteFile
, and/or
newInstance
methods.Configure EMSE Security Control
- On the application server, go to \av.biz\conf\av\ and open the ServerConfig.properties file.
- Add this code, or check that the path includes the correct location of your EMSE
script folder:
av.emse.file.path={EMSE file path on application server}
This defines the file path on the server that the
writeToFile
method adds files to or thedeleteFile
method deletes files from.Example: To set the file path as D:\emse\temp, add this code:
# UtilScript file path
av.emse.file.path=D:\emse\temp
- Go to \av.biz\conf\av\ and open the EMSESecurityConfig.properties file, or create the file (this file name is case sensitive).
- Add classes to this code in the EMSESecurityConfig.properties
file:
Example: Addingemse.class.blacklist={class #1, class#2,...}
java.lang.ProcessBuilder, java.lang.Runtime
blocks those classes from modifying instances. These two classes are the default for the blacklist. - Restart the server for the changes to take effect.