Template denied access to error in ColdFusion

Re-did security at GearHost with some better sandbox configurations and stronger security. Of course this broke weird stuff like the cf tag for PDFs. I think its just cfpdf. Here’s the error.

Security: The requested template has been denied access to applications\GearHost.pdf.
The following is the internal exception message: access denied (java.io.FilePermission applications\GearHost.pdf read)

I did a lot of searching and tried this: http://kb2.adobe.com/cps/000/f2fbaac6.html

Plus found this: http://kb2.adobe.com/cps/358/8eb3581a.html

Eventually I figured out I had to add C:\ColdFusion8\runtime\bin\- with read only access to sandbox security. It doesn’t resolve every issue but fixed this one.

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.