dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Password-Protected Entry

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Posts
    16

    Password-Protected Entry

    I'm not sure if this is the right forum category to post this question, but here goes:

    Could someone please tell me how I'd go about adding a password-protected entry to my website, or a certain page of my website?

    Thanks alot.

  2. #2
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    If you are on an Apache server, you can use .htaccess. Google should have plenty of information on restricting access with .htaccess...

  3. #3
    Join Date
    Sep 2004
    Posts
    16
    From what I understand, my host offers PHP, Perl, and Java.

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Then there's a VERY good chance it's running on Apache.

  5. #5
    Join Date
    Jan 2004
    Location
    United Kingdom
    Posts
    610
    You can password protect directories with .htaccess so it is worth looking into.

  6. #6
    Join Date
    Sep 2004
    Posts
    16

    Naming the actual file

    When I tried to create a file literally named ".htaccess", I was not able to do so because Windows had required me to enter a file name. Does this sound familiar to anyone?

  7. #7
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    Notepad won't let you create an .htaccess file. However, most HTML editors will, and you can create it directly on your server via FTP if you have to.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles