This is my .htaccess file that I placed in my assets_folder:
CODE
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /jangosfist.clanteam.com/assets_folder/.htpasswd
AuthGroupFile /dev/null
require valid-user
AuthType Basic
AuthUserFile /jangosfist.clanteam.com/assets_folder/.htpasswd
AuthGroupFile /dev/null
require valid-user
I placed the .htpasswd file in the general directory of my site along with my index.html and some other web pages. I'm using an external Style Sheet for my index.html page, but when I visit I get a prompt telling me to enter my user name and password. When I cancel the authentication page my style sheet doesn't load and I just get an ugly looking page. I used this site to create my .htaccess and .htpasswd code to protect my assets_folder: http://www.tools.dynamicdrive.com/password/
