Secure Upload/Download Help

Started on the old forum in January 2010 · view the original in the archive · old links redirect here

2 replies · 443 views · started 16 years ago · 1 min read

3 participants
jex125 Newbie · 9 posts #1

please help me. what is the best way to secure the upload section of a site? i tried using this:

<Files ~ ".(php|php3|php4|php5|phps|phtml|shtm|shtml|cgi|pl|pm|asp|cfm|jse|jsp|jar|py|exe|com|bat|dll|pif|scr|reg|inf|htaccess)$">order allow,deny deny from all</Files>

the uploads are secure but it won't let me download any files:(

😳Help me Earn guys! Thanks! External image (may be gone)

Visit my site @ http://questzone.tk. Thanks!😊

ori Lead · 512 posts #2

try this <FilesMatch ".(jpe?g|png|gif|bmp|php|mid|mp3|wma|wav|amr|sis|sisx|jar|jad|3gp|mp4|avi|mov|wmv|mpg|mpeg)$"> Order Deny,Allow Deny from all </FilesMatch>

nclemale36 Lead · 537 posts #3

should it not be <FilesMatch ".(jpe?g|png|gif|bmp|php|mid|mp3|wma|wav|amr|sis| sisx|jar|jad|3gp|mp4|avi|mov|wmv|mpg|mpeg)$"> Order Deny,Allow Allow from all </FilesMatch>

as yours dont let u download it either but allowing it does. is it still secure ?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close