Question:

How do I password protect my website?

by  |  earlier

0 LIKES UnLike

I need to make a password for my website so that only people I know can see it. I want it to be very secure so that no hackers can figure out the password and I also want to be able to change it every now and then. I also need it to be free. It would be much better if there was just an html or java code I can put on the site.

 Tags:

   Report

4 ANSWERS


  1. or Facebook


  2. Your best bet would be to contact your hosting company and see what they recommend. They may have a tool that will do that. You may also be able to use .htaccess to do it if you are on hybrid or unix/linux hosting.

  3. html would be useless.  It would contain the password in the script and would be viewable by selecting "view source"

    Use an index.php or login.php page.  This stores a password in a database and it reads it when you enter the password.

    Optionally, if you have access to your .htaccess editor, you can make directories private.  Say you had a public area, and a link to a private area, just for friends, when they clicked the link, they would be prompted for a password.

  4. there is, google it, there is thousands of free ones.

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.