I tried to set up CKFinder integrated with CKEditor on a client's website.
The website is using ColdFusion. It is on a shared-hosting server, where certain of ColdFusion's functions are prohibited from running for security reasons. Changing hosting is not possible right now for various reasons.
When I click the "Browse Server" button from CKEditor's "insert image" dialog, I get a big popup window which should contain the CKFinder file browser, but it doesn't. Instead, I get this ColdFusion error message:
Error Occurred While Processing Request
Security: The requested template has been denied access to createobject(java).
The following is the internal exception message: access denied (coldfusion.runtime.FunctionPermission createobject(java))
I have seen this before with other ColdFusion tags on this server, such as CFDUMP; they don't work because instead of being written in "pure ColdFusion" they at some point in their internal implementation call the CreateObject function to create a java object, which is prohibited by the sandboxing security on this shared web host.
My question is this: Is there a workaround? Or do I need to give up on using CFFinder altogether, on this particular website?
The website is using ColdFusion. It is on a shared-hosting server, where certain of ColdFusion's functions are prohibited from running for security reasons. Changing hosting is not possible right now for various reasons.
When I click the "Browse Server" button from CKEditor's "insert image" dialog, I get a big popup window which should contain the CKFinder file browser, but it doesn't. Instead, I get this ColdFusion error message:
Error Occurred While Processing Request
Security: The requested template has been denied access to createobject(java).
The following is the internal exception message: access denied (coldfusion.runtime.FunctionPermission createobject(java))
I have seen this before with other ColdFusion tags on this server, such as CFDUMP; they don't work because instead of being written in "pure ColdFusion" they at some point in their internal implementation call the CreateObject function to create a java object, which is prohibited by the sandboxing security on this shared web host.
My question is this: Is there a workaround? Or do I need to give up on using CFFinder altogether, on this particular website?
Re: CKFinder on shared ColdFusion hosting
In the GetFiles command cfobject is used, maybe this is the source of a problem?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+