Hello,
I came across ckfinder and first was very excited about it, because it seemed perfect for my use. But now, trying to integrate it with my own php project, I am not sure, if it can do what I need.
Actually I want to use it as filebrowser but for directories that are not open to the public or even accessible in the web servers directories. Which means the webserver serves files below the path /home/webserver/www while the files I want to have managed by ckfinder are in /home/userfiles. Therefore /home/userfiles is not accessible via webserver at all.
So ckfinder could get directory listings and files through the local filesystem of the server but not through the webserver. But I guess, that's not how it works, right? It needs free access via http to the managed directory, right?
Thanks for your help.
Best Regards,
Benedikt.
Hi Benedikt,
Hi Benedikt,
CKFinder can be used in such an environment, it was discussed here some time ago, so you might want to google it.
You would need to give a proper path as baseDir (it can be something outside the www server tree), and then add something like "/path/to/viewfile.php?url=" as baseUrl. This script can then send the file, but it does not have to. You can also disable the View option in CKFinder context menu altogether if you prefer so.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!