
118
CONFIGURING AND ADMINISTERING COLDFUSION 10
Administering Security
L
ast
u
p
dated
7/9/2
01
2
•
D:\ColdFusion10\cfusion\runtime\lib Read
•
C:\Program Files\OpenOffice.org 3\ Read, Execute
•
C:\Program Files\OpenOffice.org 3\- Read
, Execute
Using Caching within Sandbox
For disk-based caching to work inside a sandbox, the sandbox must provide read/write permission to the disk cache
directory. This can be the default directory (
java.io.tmpdir
) or a user-configured directory as identified by the
diskStore
property.
The
diskStore
property in
cf_root
\lib\ehcache.xml is used to specify the directory for disk cache (
<diskStore
path="java.io.tmpdir"/>
).Use the following code to identify the temp directory:
<cfscript>
writeoutput("Temp Dir : " &
createobject("java","java.lang.System").getProperty("java.io.tmpdir") );
</cfscript>
Also, read permission must be granted to cf_root\lib\ehcache.xml for certain functions that read from/write to
ehCache.xml to work. For example,
cacheGetProperties
and
cacheSetProperties
.
Using Service CFCs within Sandbox
Grant the following permissions:
•
execute permission to
cf_root
\CustomTags\com\adobe\coldfusion
•
read permission to
cf_root
\WEB-INF\cftags\META_INF\taglib.tld