I want to use .htaccess but I want to use the database I created myself to manage the users and passwords.
If using session, how can I block the whole folder off? such as I am not just trying to block the access to php pages, I want to block all the files in the administration folder, such as pure html, gif, jpg files etc.
How the session would do that?