frost Posted December 11, 2007 Share Posted December 11, 2007 Hi, I have a client that has an html based site and would like to add some login protection to a few areas. The problem is the client wants to have each person have a unique login (i would store them in an sql database). So my question is: Is there an alternative to htaccess password protection that I could use here? Something that would support multiple login identities and would not require me changing the site over to PHP? Thanks. Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted December 11, 2007 Share Posted December 11, 2007 you would not have to convert the whole site to php; just member/user security sensitive areas of the site (the login material from database). Quote Link to comment Share on other sites More sharing options...
frost Posted December 11, 2007 Author Share Posted December 11, 2007 right, but how would i check if a person is logged in on the other pages? if someone were to get a hold of a url that was after the login they would be able to view the page as they would not need to login. I hope that makes sense? Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted December 12, 2007 Share Posted December 12, 2007 Use PHP Sessions throughout your secure pages. If I were you; I would do some research/searching for user login administration with PHP/MySQL. Visit The PHP forum on this site for PHP questions. http://www.phpfreaks.com/forums/index.php/board,1.0.html Quote Link to comment Share on other sites More sharing options...
frost Posted December 12, 2007 Author Share Posted December 12, 2007 But I do not want to use php, thats the whole problem here... Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted December 12, 2007 Share Posted December 12, 2007 If you do not use a server language like PHP and MySQL; then you will not be able to create a secure login. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.