MACROMEDIA COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual page 89

Hide thumbs Also See for COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

Configuring a sandbox
Before you begin security sandbox configuration, analyze your application and its usage to
determine the tags, functions, and resources that it requires. You can then configure the sandbox
to enable access to the required resources and disable use of the appropriate tags and functions.
For example, if the applications in the sandbox do not use the
disable it.
Note: In the Standard Edition, the Root Security Context is the only sandbox. There is no initial list of
defined directory permissions.
To configure a sandbox:
Open the Security > Sandbox Security page (Security > Resource Security page in the Standard
1.
Edition) in the ColdFusion MX Administrator.
(Enterprise Edition only) In the list of Defined Directory Permissions, click the name or Edit
2.
icon for the directory.
A page with several tabs appears. This is the initial page in the Standard Edition. The
remaining steps describe the use of each tab.
To disable a data source, in the left column of the Datasources tab, highlight the data source,
3.
and click the right arrow.
By default, ColdFusion pages in this sandbox can access all data sources.
Note: If <<ALL DATASOURCES>> is in the Enabled Datasources column, any data source that you
add is enabled. If you move <<ALL DATASOURCES>> to the Disabled Datasources column, any
new data source is disabled.
Click the CFTags tab.
4.
To disable tags, in the left column of the CFTags tab, highlight the tags, and click the right
5.
arrow.
By default, ColdFusion pages in this sandbox can access all listed tags.
Click the CFFunctions tab.
6.
To disable functions, in the left column of the CFFunctions tab, highlight the functions, and
7.
click the right arrow.
By default, ColdFusion pages in this sandbox can access all listed functions.
Click the Files/Dirs tab.
8.
To enable files or directories, in the File Path box, enter or browse to the files or directories; for
9.
example, C:\pix. A file path that consists of the special token <<ALL FILES>> matches any file.
For information on using the backslash-hyphen (\-) and backslash-asterisk (\*) wildcard
characters, see
Select the permissions.
10.
For example, select the Read check box to let ColdFusion pages in the mytestapps sandbox
read files in the C:\pix directory.
Click Add Files/Paths. When you edit an existing sandbox, this button reads Edit Files/Paths.
11.
The file path and its permissions appear in the Secured Files and Directories list.
"About directories and permissions" on page
tag, you can safely
cfregistry
88.
Using sandbox security
89

Advertisement

Table of Contents
loading

Table of Contents