Home > Password Protect > How To Password Protect A Web Page

How To Password Protect A Web Page


Reason is to prevent accidental stumblers onto my webpage but allow book readers to access via the hyperlink click. Just what I have been looking for. But very nice work. That seems to be working fine. navigate here

Create an account EXPLORE Community DashboardRandom ArticleAbout UsCategoriesRecent Changes HELP US Write an ArticleRequest a New ArticleAnswer a RequestMore Ideas... The tool is great for encrypting but how do you implement it? Should I use folder properties or an htaccess file? I have placed the file "password-protect.php" in "", and when I browse to it I get the prompt to enter a login and password.

Password Protect Website Php

And, another minor miracle I picked up somewhere particularly for those of you with phpbb boards. Does it need to be put in a secure catalog, maybe outside the webroot? Is this still possible? Thanks Hansen Denmark.JT May 31, 2007Great script, much appreciated Zubrag June 9, 2007this script is fantastic!

I just don't know how to code it to work with the script. For example you want to protect page protect-me.php. Kory May 25, 2007In response to the question from Daniel K: [Admin note] created topic on the forum for this issue: Password Protector - redirects May 27, 2007No problem installing. How To Put A Password On A Website Google Chrome An incorrect password leads back to the password prompt in this code.

just goes to protected page with now username or password page. Password Protect Website Htaccess say the user name is cat it will go to cat1.php and if it is dog it will go to dog1.php i cant find anything that can do this without using let us know when its fixed. dj_jonathan_martin [anti-spam] yahoo.com March 26, 2007Thanks so much for this great script!

February 26, 2008Great Script!!! Password Protected Website Builder If you are working in the Page Designer, click Exit Designer. zubrag: It will auto-logout when browser window is closed. It worked perfectly, and I am using GoDaddy.

  1. How secure is this program?
  2. Thank you thank you thank you!!!
  3. all i found was apache .htaccess stuff and thot "why isn't there something simple like (insert your beautiful script here)?" thanks for sharing, the world is a better place for it.Parag
  4. Thanks very much November 15, 2006Can we use PHPSESSID to protect the pages?
  5. Tip: If you only want to protect part of your website with a password, enter the name of the directory (folder) you want to protect in the Directory name field, for
  6. Just one question.
  7. Popular Articles How to Make / Create a Website: The Beginner's A-Z Guide Tips on Choosing a Good Domain Name How to Improve Your Search Engine Ranking on Google BlueGriffon Tutorial:
  8. Agree with shawn on the comment "I've tried to edit the cookie portion out of the script to no avail.
  9. My problem is in the password_protect.php file that I have named index.php.
  10. zubrag: Use download link above.

Password Protect Website Htaccess

is there any way to clear the cookie once a user navigates away from the server, so they have to re-enter it the next time they come back? https://www.thesitewizard.com/apache/password-protect-directory.shtml Therefore it is impossible to decrypt a hashed password to get its original value. Password Protect Website Php zubrag: Added multi-user support. Password Protected Website Free I don't know is ANSI or UTF-8 encoding makes a difference.

This way you'll know if you implemented the password protection correctly. 4 Contact your web host directly. check over here Robert Augustin Permalink to comment# July 23, 2008 Thanks for the nice & simple explanation. zubrag: Use download link above. Upload a simple index.html file into your protected directory and use your web browser to view it. Password Protect Website Wordpress

root [anti-spam] olgiatipy.org March 24, 2007Posting this in case it may help some others who want, like I did, to password-protect pages written in HTML If the page you want to Thanks a lot!Pola March 16, 2008This worked like a champ.Cannot be enough thankful to you.Great work.infoATflutelab.com March 16, 2008The script could not be opened in MSIE or FF. You are a star my friend - this script is so simple yet so effective. http://train2solution.com/password-protect/how-to-password-protect-an-external-hd.html Like having the logout button or something?Dhani August 17, 2006And one more thing, can I specify one page just for one user in user list array?Dhani August 17, 2006what I mean,

The only question I have is, can you customize it? How To Password Protect A Website In Chrome Thanks for your help! It redirects clients to their respective directory depending on the credentials they provide!

Keep this page open in a separate window, you will need the information later.

According to the description, I would need to change the user/password combination to just a password (starting from line 51). Select Do not protect pages. This way you can customize the login page any way you want. Godaddy Password Protect Page I am doing a HTML post to password_protect.php file, it leaves a cookie if the password is good, it then redirects to another php file that is set to be secured

KAa June 12, 2007I tryed to paste the code into "nvu" and then open it but any password works. If you want to redirect to some folder after visitor login, then add following line just before the last ?> line header('Location: http://www.yourdomain.com/redirection/path/'); die(); August 6, 2006Thanks! In my password_protect.php this is what this area looks like: // logout? http://train2solution.com/password-protect/how-to-password-protect-a-usb-flash-drive.html Will it work?

zubrag: Added multi-user support. philwojo April 13, 2007Vivian, it sounds like you are forgetting about the cookie it sets, you will only see it work once as after you log in it set's your cookie's