Results 1 to 3 of 3

Thread: Easy secure webpages pointers required.

  1. #1
    Join Date
    21st February 2006 - 10:27
    Bike
    02' ZX6R
    Location
    The foggy hill
    Posts
    516

    Easy secure webpages pointers required.

    I am attempting to add a extra page to our site which is password protected. All I am after is when you click on the link the windows pop up appears and bingo you are in. All the help menus on dreamweaver point to PHP database and login screens etc. Is there an easier way to do this?

    Are there any online tutorials that you would recomend or point me to??

    All suggestions welcome so long as no humans sacrafice is required!

    Cheers
    Need something to do when not riding??? Come and learn to dance with us at www.cerocstars.co.nz

  2. #2
    Join Date
    20th June 2005 - 14:27
    Bike
    Fatbob
    Location
    the 'Tron
    Posts
    1,348
    .htaccess
    basic apache auth

    .htaccess
    Code:
    AuthUserFile /path/to/password/file/.htpasswd
    AuthGroupFile /dev/null
    AuthName "My password protected area"
    AuthType Basic
    < Limit GET>
    require valid-user
    < /Limit>
    Edit: the forum won't let me post proper code .. .so remove the spaces between "< Limit" and "< /"

    .htpasswd
    Code:
    paul:asdivhjaodhvihewrv
    shane:sadvasdvrhtn
    john:rtbrtbwrtgb

  3. #3
    Join Date
    25th January 2007 - 10:06
    Bike
    '14 Multistrada 1200S
    Location
    palmy
    Posts
    3,759
    yup terminal is on the right track - edit the .htxxxx files

    or use a scripting language PHP/ASP/etc and db as you mentioned - i can give you code for this if you wanna go down that track....
    F M S

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
  •