Deny access to particular file or extension using .htaccess
- Aadil P.
While updating all of my artwork developed for clients to my server, I ended up uploading the .psd files as well. However, I wanted to deny access to the “.psd” sources and the royalty free artwork I had purchased and downloaded from graphic download sites.
While googling a possible solution I ended up on this StackOverflow question How to deny access to a file in .htaccess