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 there a way to allow a file thru the protected directory Admin folder without taking away the protection altogether? So lets say: ALLOW "MyFIle"


Use this code in .htaccess

<Files MyFIle.ext>
allow From All