Hello Everyone,
Please forgive my ignorance, I'm new at this! I have two questions I need help with and I have been banging my head against the wall for a few days now.
I have successfully installed CKEditor and integrated CKFinder in my PHP site but for some reason I can't get rid of the "File Browser Has Been Disabled For Security Reasons" error message.
I've searched everywhere on this forum and tried setting the function CheckAuthentication but still no luck.
I currently have it set to return true; for testing purposes. I don't have a login system for my CMS, but the folder it's in is password protected. As well as the CKEditor and CKFinder folders.
I'm wondering if that's sufficient enough protection if I leave it this way.
Also, I would like to be able to use the file browser to browse to my images folder so I tried changing the basepath in my config.php file but it didn't show up. Is there somewhere else I need to change the path as well?
Thanks,
Christopher
Please forgive my ignorance, I'm new at this! I have two questions I need help with and I have been banging my head against the wall for a few days now.
I have successfully installed CKEditor and integrated CKFinder in my PHP site but for some reason I can't get rid of the "File Browser Has Been Disabled For Security Reasons" error message.
I've searched everywhere on this forum and tried setting the function CheckAuthentication but still no luck.
session_start(); function CheckAuthentication() { // WARNING : DO NOT simply return "true". By doing so, you are allowing // "anyone" to upload and list the files in your server. You must implement // some kind of session validation here. Even something very simple as... return isset($_SESSION['IsAuthorized']) && $_SESSION['IsAuthorized']; // ... where $_SESSION['IsAuthorized'] is set to "true" as soon as the // user logs in your system. To be able to use session variables don't // forget to add session_start() at the top of this file. }
I currently have it set to return true; for testing purposes. I don't have a login system for my CMS, but the folder it's in is password protected. As well as the CKEditor and CKFinder folders.
I'm wondering if that's sufficient enough protection if I leave it this way.
Also, I would like to be able to use the file browser to browse to my images folder so I tried changing the basepath in my config.php file but it didn't show up. Is there somewhere else I need to change the path as well?
Thanks,
Christopher
Re: file browser issues.
Thanks,
Christopher
Re: file browser issues.
Hi,
please look at comments to checkAuthentication function in config.php file.
On test server return true should works.
Try remove password for folders where you have ckeditor and ckfinder installed.
This post is similar to http://cksource.com/forums/viewtopic.php?uid=21182&f=10&t=22330&start=0