20 May 2010, 13:22
Hi Nick,
Sorry for the late reply, been away... You're absolutely right, this is an "inconvenience" and does come up when logged into the admin panel. Naturally this happens when you access a folder which has an .htaccess file at that level. It obviously doesn't care from which angle you plan to access the file/folder...
I have also taken the opportunity to do some research and probably the best way to tackle the "frontend/public" security is also through a php (http authentication) script. This would cater for customers of most platforms or web hosts, including those customers hosting themselves, via IIS/windows. I would even go as far to say use PHP with MySQL databases. That way you have so much more flexibility and security. However I do believe this isn't an avenue you really want your product to take (bearing in mind the knowledge your average customer would need to know to set up MySQL databases. This may put off customer purchasing your product).
If that former is the case, I would recommend looking at the option of putting the bulk of your product files outside the public_html/www and have the successful php authentication redirect to these files. That way the public can't see them without credentials... You could have 2 php login scripts.... One to the admin GUI (already present), the other to the public side (so to speak). Also based on your public login, it would determine what frontend folder level that individual could see....
The only problem with the last paragraph is providing a single solution for those customers who couldn't care about frontend viewing restrictions, aswell as myself and others who want such a feature....
I hope this post helps to a certain degree.
Cheers,
Cavey