I’m trying to set up password protection for a page on my website where users will have to enter a username and password I have no clue how to …I’m with HostGator if that means anything..
Next: How Do I Put Up My Own Layout On Godaddy?
Previous: Host Monster Payments?
"Password Protection For Webpage?" was posted on Thursday, July 9th, 2009 at 6:04 pm.
3 Responses to “Password Protection For Webpage?”
Leave a Reply
Create a directory off of your root where you will put all the HTML pages you wish to protect in. Login to your control panel. Click on “Password Protect Directories” and select the directory you just created. Add the Username and Password you want them to use to access the HTML in that directory. That’s about it. If you have any problems, just click on their LiveChat and they’ll help you out…
To password protect a page you will need to use server side program like ASP or PHP. What you need is a user registration system.You will need a form users can use to register their information. At a minimum you will ask for a username, password and email address. Then you need a web page to proccess the information collected from the form and put it into your database. Finally the page you wish to protect will look for a valid logged in user, usually you use cookies to track your users.
Suggested PHP scripts: http://www.hotscripts.com/PHP/Scripts_an…
Or: http://www.hotscripts.com/PHP/Scripts_an…
hi even if you password protect a page through another page in effect its only hidden not protected, its better to get your ISP to protect a directory and then you password this and put any files in here, and any one reaching this through any link will be prompted by the password,