CFIDE.adminapi.security
Component security (security)
Manages passwords, RDS, and sandbox security.
* – private method
| createDefaultSandboxes |
|---|
public void createDefaultSandboxes (
Creates the default sandboxes needed to secure the ColdFusion Administrator and the WEB-INF system folder. Output: suppressed |
| deleteAllowedIPAddresses |
public void deleteAllowedIPAddresses ( required string debugip
Removes an IP address from client IP addresses that should be allowed to invoke exposed services. Output: suppressed |
| deleteDisabledCFFunction |
public void deleteDisabledCFFunction ( required directory, required functionName
Remove a function from the list of disabled functions in the sandbox. Output: suppressed |
| deleteDisabledCFTag |
public void deleteDisabledCFTag ( required directory, required tag
Removes a tag from the list of disabled tags in the sandbox. Output: suppressed |
| deleteDisabledDatasource |
public void deleteDisabledDatasource ( required directory, required datasource
Removes a data source from the list of disabled data sources in the sandbox. Output: suppressed |
| deleteSecuredFolder |
public void deleteSecuredFolder ( required directory, required folder
Makes a folder inaccessible to a secured sandbox. Output: suppressed |
| deleteSecuredIPPort |
public deleteSecuredIPPort ( required directory, required IP, required PORT, portType="single"
Removes a specified IP address and port from restricted status. Output: suppressed
|
| deleteSecuritySandbox |
public void deleteSecuritySandbox ( required directory
Removes security sandbox restrictions for a directory. Output: enabled |
| deleteUser |
public void deleteUser ( required username
Removes the user. Output: suppressed |
| disableRDSServlet* |
private boolean disableRDSServlet (
Disables the servlet that performs RDS processing. Output: suppressed |
| enableRDSServlet* |
private boolean enableRDSServlet (
Enables the servlet that performs RDS processing. Output: suppressed |
| formatPort* |
private formatPort ( required port, required portType
Format a port based on the specified range. Output:
|
| getAllAdminRoles |
getAllAdminRoles (
Output: |
| getAllExposedServices |
getAllExposedServices (
Output: |
| getAllowedIPList |
public getAllowedIPList (
Returns a list of client IP addresses that should be allowed to invoke exposed services. Output: suppressed |
| getDefaultSecuritySandbox* |
private getDefaultSecuritySandbox ( required directory
Create the default structure for a blank sandbox. Output: suppressed |
| getDisabledCFFunctions |
public getDisabledCFFunctions ( required directory
Returns an array of functions that have been disabled for the sandbox. Output: suppressed |
| getDisabledCFTags |
public getDisabledCFTags ( required directory
Returns an array of tags that have been disabled for the sandbox. Output: suppressed |
| getDisabledDatasources |
public array getDisabledDatasources ( required directory
Returns an array of data sources that have been disabled for the sandbox. Output: suppressed |
| getEnableRDS |
public boolean getEnableRDS (
Checks whether RDS is enabled. Output: suppressed |
| getEnableSandboxSecurity |
public getEnableSandboxSecurity (
Checks whether sandbox security is enabled. Output: suppressed |
| getFunctionPermissionPosition* |
private getFunctionPermissionPosition ( required webapp, required directory
Returns the index in the function permissions array. Output: suppressed |
| getSecurableCFFunctions |
public getSecurableCFFunctions (
Returns an array of securable functions. Output: suppressed |
| getSecurableCFTags |
public getSecurableCFTags (
Returns an array of securable tags. Output: suppressed |
| getSecuredFolders |
public getSecuredFolders ( required directory
Returns an array of secured folders for the sandbox. Output: suppressed |
| getSecuredIPPorts |
public getSecuredIPPorts ( required directory
Returns an array of secured ports for the sandbox. Output: suppressed |
| getSecuritySandboxes |
public getSecuritySandboxes ( directory
Returns all security sandboxes or a specified sandbox. Output: suppressed |
| getTagPermissionPosition* |
private getTagPermissionPosition ( required webapp, required directory
Returns the index in the permissions array. Output: suppressed |
| getUseAdminPassword |
public getUseAdminPassword (
Checks whether ColdFusion Administrator security is required. Output: suppressed |
| getUser |
public struct getUser ( string username
Get all users or get single user by specifying a username. Output: suppressed |
| getUseRDSPassword |
public getUseRDSPassword (
Checks whether a Remote Development Services (RDS) password is required. Output: suppressed |
| getUseSingleRDSPassword |
public boolean getUseSingleRDSPassword (
Indicates whether or not a user is is required in addition to a password for logging in to RDS Output: suppressed |
| isLoginUserIdRequired |
public isLoginUserIdRequired (
Checks whether or not a user id is required in addition to a password in order to login. If this returns true, a user id must be passed to the login function in addition to a password. Output: suppressed |
| isRAMAllFiles* |
private boolean isRAMAllFiles ( required path
Checks if the argument is ram:///- or ram://- Output: suppressed |
| setAdminPassword |
public setAdminPassword ( required string password
Sets the ColdFusion Administrator password. Output: suppressed |
| setAllowedIPAddresses |
public void setAllowedIPAddresses ( required string debugip
Sets a list of one or more client IP addresses that should be allowed to invoke exposed services. Output: suppressed |
| setDefaultFilePermission* |
private void setDefaultFilePermission ( required directory
Removes the wildcard and sets the permission for only the defined folder. Output: suppressed |
| setDisabledCFFunction |
public void setDisabledCFFunction ( required directory, required functionName
Disables the use of a function in the sandbox. Output: suppressed |
| setDisabledCFTag |
public void setDisabledCFTag ( required directory, required tag
Disables use of a tag in the sandbox. Output: suppressed |
| setDisabledDatasource |
public void setDisabledDatasource ( required directory, required datasource
Disables use of a data source in the sandbox. Output: enabled |
| setEnableRDS |
public void setEnableRDS ( required boolean flag
Specifies whether to enable or disable RDS. Output: suppressed |
| setEnableSandboxSecurity |
public void setEnableSandboxSecurity ( required boolean enable
Specifies whether to enable sandbox security. Output: suppressed |
| setLoginUserIdRequired |
public setLoginUserIdRequired ( required boolean isUserIdRequired
Sets whether or not a user id is required for login. Output: suppressed |
| setRDSPassword |
public setRDSPassword ( required string password
Sets the RDS password. Output: suppressed |
| setSecuredFolder |
public void setSecuredFolder ( required directory, required folder, fileRead="true", fileWrite="true", fileExecute="true", fileDelete="true"
Makes a folder accessible for the secured sandbox. Output: suppressed |
| setSecuredIPPort |
public setSecuredIPPort ( required directory, required IP, required PORT, portType="single"
Restrict the IP addresses and ports that ColdFusion tags can access. Output: suppressed
|
| setSecuritySandbox |
public void setSecuritySandbox ( required string directory, array sandbox
Creates a security sandbox for a specified directory. Output: suppressed |
| setUseAdminPassword |
public void setUseAdminPassword ( required boolean useAdminPassword
Specifies whether ColdFusion Administrator security is required. Output: suppressed |
| setUser |
public void setUser ( required string username, required string password, string description="", array sandboxes="[runtime expression]", array roles="[runtime expression]", boolean allowrdsaccess="false", boolean allowadminaccess="false", boolean allowadminapiaccess="false", array services="[runtime expression]"
Add or Update a new user. Output: suppressed |
| setUseRDSPassword |
public void setUseRDSPassword ( required boolean useAdminPassword
Specifies whether RDS security is required. Output: suppressed |
| setUseSingleRDSPassword |
public setUseSingleRDSPassword ( required boolean useSingleRDSPassword
Sets whether or not to allow a user id in addition to a password for logging in to RDS Output: suppressed |
| validateDirectory* |
private validateDirectory ( required directory
Ensure that the directory starts with / and ends with /* Output: suppressed |