First of all, I would like to give a BIG THANK YOU to Pablo for letting me using the "Single page protect" code.
This extensions enables you to publish files to a folder of your choosing with drag and drop capabilities.
The code is found here: http://elfinder.org/
I added the "Single page protect" code to the extension (you can set the password from the extension) to protect the page. In the original script, you can set permissions to folders and files, but I wasn't able to make it work fully. If you need further information about these features, please read the documentations at https://github.com/Studio-42/elFinder/wiki
So the only way I found to let you protect the files you upload is to add the "Single page protect" code.
When you close the browser window or tab, the session is timed out so you need to login again to access the page.
Download
http://www.mediafire.com/download/yh58a ... .0.0.0.zip
Installation
Just drag and drop the extension and set the properties.
Notes:
1. The page extension MUST be php, as the protect code requires php.
2. The width of the elFinder window is determined by the extension width. 900px will make all the command icons appear on one line.
3. The height of the elfinder window is ALWAYS 400px no matter what you set the extension height.
4. If you choose "Resizable:Yes", then you can resize the window in width and height when you publish it to the server.
5. VERY IMPORTANT: for the "Folder" property, after you set the name of the folder (let's say you name it 'files'), you MUST add a folder in the same root of the page called 'files', you can do this either within the program by adding a folder to site map (again, in the same root of the page where you added the extension), or by publishing the files to the server or hard drive and then add a new folder named 'files'.
That's it. Enjoy
![Smile :)](./images/smilies/icon_smile.gif)