EMSE Security Control
Topics:
EMSE Security Control methods
These methods are available for the EMSE Security Control:
- writeToFileand- deleteFile- In the ServerConfig.properties file, the configuration property- av.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 writeToFilemethod adds files to or thedeleteFilemethod deletes files from.Example: To set the file path as D:\emse\temp, add this code: # UtilScript file pathav.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.Runtimeblocks those classes from modifying instances. These two classes are the default for the blacklist.
- Restart the server for the changes to take effect.