Skip to content

Instantly share code, notes, and snippets.

@zeropointdevelopment
Created December 27, 2013 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeropointdevelopment/8143102 to your computer and use it in GitHub Desktop.
Save zeropointdevelopment/8143102 to your computer and use it in GitHub Desktop.
[WordPress] Code from our blog post Securing the WordPress Uploads Folder - http://www.limecanvas.com/securing-the-wordpress-uploads-folder/
<Files ~ ".*..*">
Order Allow,Deny
Deny from all
</Files>
<FilesMatch ".(jpg|jpeg|jpe|gif|png|tif|tiff)$">
Order Deny,Allow
Allow from all
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment