Ask

I've protected my admin folder with .htaccess and saved the .htpasswd outside of the root. I have a file though that I need a component to read in the admin folder and everytime I use the component it askes me for the password...is there a way to allow a file thru the protected directory Admin folder without taking away the protection altogether? So lets say: ALLOW "MyFIle"


Answer

Use this code in .htaccess

<Files MyFIle.ext>
allow From All
</Files>