jQuery-File-Upload
jQuery-File-Upload copied to clipboard
public file access
I would liek to implement this node.js server as a CDN. Onupload of a photo you get a json object returned with the url links to the photo;
uploadUrl: '/media/',
however when trying to access the url, for example, http://localhost:7777/media/e0472b80-2307-11e2-ab89-13e1138a6add.jpg, you are not unable to access that file. If i use http://localhost:7777/media, I get all the files which is a (BIG SECURITY ISSUE)
- Is there a way to access files directly ?
- Is there a way that I can implement/access sessions with the node server to introduce authentication?
- Is there an express 3.0 implementation (will solve all problems) ?
The node.js implementation is just a sample, not a full featured upload service. Currently I don't have any plans to extend it with authentication or other features.
A user contributed Express 3.0 example would be a welcome addition to the Wiki.