Q:

most secure way to password protect admin files/folders?

what is the most secure way to password protect admin files/folders?
im on apache/php

A:

The most secure way is to keep it off the internet alltogether ;-)
But irony aside, I'd suggest using .htaccess. Simple and requires no programming effort from you.
http://www.htpasswdgenerator.com/apache/htaccess.html#8

