Secure Upload/Download Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Secure Upload/Download Help

    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|p l|pm|asp|cfm|jse|jsp|jar|py|exe|com|bat|dll|pif|sc r|reg|inf|htaccess)$">order allow,deny deny from all</Files>

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

    #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>

    Comment


      #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 ?
      Wapchat4u


      Topsites4u

      Comment

      Working...
      X