jQuery-File-Upload icon indicating copy to clipboard operation
jQuery-File-Upload copied to clipboard

public file access

Open gahula opened this issue 14 years ago • 1 comments

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)

  1. Is there a way to access files directly ?
  2. Is there a way that I can implement/access sessions with the node server to introduce authentication?
  3. Is there an express 3.0 implementation (will solve all problems) ?

gahula avatar Oct 31 '12 03:10 gahula

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.

blueimp avatar Nov 01 '12 11:11 blueimp