blueimp/jQuery-File-Upload — Issue #1089: upload directory outside of www root
Author: stratawing
Created: 2012-03-09 17:55:58+00:00
State: open

Can this (AWESOME!) plugin be easily modified to upload files outside of the www root, and whether there are pos/neg issues associated with that.

I've heard it is more secure to keep everything outside the root rather than use .htaccess (e.g., in something like /var/tmp/$usr ).

I suspect I'd just have to modify the $options array in upload.class.php to reflect out-of-root paths for the following:

script_url
upload_dir
upload_url

and in the thumbnail array in upload.class.php the following:

upload_dir
upload_url

Is there anywhere else I'd need to make changes?