SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Password Protected a Micro Site

    I have put together a small website for a wedding and the couple would like the site to have the entire site secured, so that only guests with a password can enter.

    I have had a go using some java script but this seems rather clumsy.

    What I would like is one password that allows guests to access the whole site.

    Is there a nice easy way to do this?

    Cheers Greenlegs

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If your hosting account permits it, use a directory-level password on the site's root (where the home page is).

    But since you're messing with the page, I'd use a server-side programming language and a database instead.


Bookmarks

Posting Permissions

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