I downloaded a file uploader to use on my website so I have my own personal file uploading service for my files so I dont have to worry about any being removed but I dont want it to be usable by the public which is why I would like to add a password to it.. I tried doing it with .htaccess and .htpasswd by using this:
for some reason, I can get it to work if it requires authentication for every single file/folder on the website but I cant get it to work with just php,js files.. so I'm looking for alternative ways. Is there anything I can do to make site.com password protected but the public would be able to view all my other folders like site.com/images ?
AuthName "Restricted Area"