How do you password protect a web page?

How do I password protect a webpage?

I have a website that is fully accessible but would like to create some hidden pages for clients to access. These pages should be password protected so they are private.I don't necessarily need to have them encrypted or anythign fancy if that happens to be difficult.

I want to be able to load new information to these pages and I will email the people for them to check the new stuff.

How do I do this? I use dreamweaver and have no programming knowledge except basic HTML stuff.

Please help. Walk me through every step.

Additional Details

20 minutes ago

I use WIndows XP Professional SP2 and the server uses Linux.

It also states extra stuff-

It has Apache version 1.3.37 (UNIX)

Perl Version 5.8.5

I don't know any of that stuff how that works. I don't know what PHP is....I am not a programmer, I work on visual stuff so this is alllllllllllll new to me.

4 Answers

Relevance
  • Anonymous
    1 decade ago
    Best Answer

    THis needs to be configured in the Web Application Server (For example IIS or Apache)

    Generally, there is a keyword like PROTECT that would invoke password checking routines.

    You will need to know how to configure a Web Application Server to make this happen, unless oyu want to do fancy programs to have your programs check and validate users.

  • 1 decade ago

    put an ".htpasswd" file somewhere in the site containing the user and password in this format:

    user:pass

    then put an ".htaccess" file in the site root directory with the following content:

    AuthUserFile PATH_TO_HTPASSWD_FILE

    AuthType Basic

    AuthName "PANEL DESCRIPTION"

    Require valid-user

    <Files .htaccess>

    order allow,deny

    deny from all

    </Files>

    of course this is not the safest method... for more documentation, search the web a little about the usage of those two files

  • 1 decade ago

    Find a tutorial on how you edit your .htaccess file to pw protect pages. if the server uses cPanel, then you can do it there.

  • Anonymous
    1 decade ago

    Sorry man. You kind of must learn PhP. It's not that hard if you know CSS.

Still have questions? Get your answers by asking now.