dpd-fileupload icon indicating copy to clipboard operation
dpd-fileupload copied to clipboard

authorization does not prevent reading files in upload folder

Open ramstein74 opened this issue 9 years ago • 1 comments

Hi, I check the "authorization" check box. dpd.fileupload.get is not allowed to read the contents of upload folder but if i go to the url via browser i can open the uploaded files. It should be protected ? Can you encrypt the file name somehow? and save the real filename somewhere ?

ramstein74 avatar Apr 26 '16 13:04 ramstein74

because the files are uploaded to a public directory, this would currently be expected behavior. If the files were uploaded to a private directory, and then streamed though node on a get, it would be possible with an img/picture tag pointing to the api, but this is not implemented.

tenowg avatar May 10 '16 20:05 tenowg