Yeap, that correct. You must add that path do sandbox security also. We 
faced this issue when the file upload input is optional: *not* every 
time the form is submitted it will had a file to upload.

--
Fabio Terracini


James Holmes wrote:

>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?
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205220
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to