CKFinder 3 - The file browser is disabled for security reasons

Rickus Harmse picture Rickus Harmse · May 17, 2016 · Viewed 17k times · Source

I am quite new to CKFInder, and I received the error

The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.

I had a look on site like the following:

http://ckeditor.com/forums/Support/file-browser-disabled-for-security-reasons.

http://ckeditor.com/forums/Support/File-browser-disabled

http://ckeditor.com/forums/Support/file-browser-disabled-for-security-reasons.

They all mention a function in the config.php file called checkAuthentication(), but I did a search through all the files and cannot fine the function.

All the other people with the same error on the forums use CKFinder 2, and I cannot find another person with the error using v3

I do believe its just something small that I am overlooking.

Thanx in advance

Answer

zaak picture zaak · May 17, 2016

Returning true for authentication is obviously not secure. Please have a look here to see a few examples presenting how this option can be used.