[eluser]bigdaddysheikh[/eluser]
Hey guys,
I am trying to password protect a directory. It is easy to setup using cpanel with .htaccess file. In this case, my clients wants to add users and have a management area to control the users. The reason being is that he has a store for wholesalers that should only be available to certain users.
I was searching online and have found an easy method of adding username/password in a simple file then upload.
What I would like to do is set up a way where the htaccess can verify the users in the mysql database and only then allow them to go to the store?
I found some really good articles to help with this but I am concerned if a visitor puts direct url to a product, he might bypass the authentication.
Has anyone every run into this problem before?