PDA

View Full Version : Restrictions on <CFIMAGE> tag?



wcasto
February 27th, 2012, 02:50 PM
Hello,
I'm trying to resize an image once it's uploaded but keep getting "Access Denied" errors. The same code on my server works with no errors.

Here's the error I'm getting:



An exception occured while trying to write the image.
Ensure that the destination directory exists and that Coldfusion has permission to write to the given path or file. cause : java.security.AccessControlException: access denied (java.io.FilePermission D:\home\mywebsite.com\wwwroot\demo\photos\matt-lrg5.jpg delete)


Are there restrictions on the <CFIMAGE> tag that are throwing the security error?

Thanks for your help,
Wes

jakeh
February 27th, 2012, 03:34 PM
Wes,

Our ColdFusion servers have Sandbox Security enabled, so we'll need to check the site's Sandbox settings to ensure they are correct.

So we can do that, please submit a support ticket about this issue by emailing [email protected] In your email please include your site's domain name, and the exact steps to reproduce the error message so we can ensure this gets fixed properly.