Just add the
C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp
directory to the sandbox for read / write access, not the whole CFusionMX7
directory. We had to do this in MX 6.0.

-----Original Message-----
From: Rebecca Wells [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 30 April 2005 6:01 
To: CF-Talk
Subject: MX7 + CFFile + Security Sandbox = Error

Today, while testing a application that handles a file upload that was
previously working in previous versions of CF (with Security Sandbox turned
on), I got the following error message:

Security: The requested template has been denied access to
C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp3
8262.tmp.
The following is the internal exception message: access denied
(java.io.FilePermission
C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp3
8262.tmp read)

If I disable Sandbox Security in CF Admin, then the error message goes away.
So, I guess the work around for this is to add the CFusionMX7 directory to
the Security Sandbox, but that seems like a bad idea from a security
standpoint. Also, it seems kind-o-funky that this changed in v7. Anyone have
any insight or better solutions?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205176
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to