Please report all spam threads, posts and suspicious members. We receive spam notifications and will take immediate action!
Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: HTTP Authentication




  1. #1
    Join Date
    Nov 2001
    Location
    Ballarat, VIC
    Posts
    1,011

    Default

    I am trying to create a website that is only accessable by a password. I want a popup box to display before the page even loads, I think you know what I'm talking about. Does anybody know how to do this?

  2. #2
    Join Date
    Mar 2004
    Posts
    2,910

    Default

    Wouldn't be easy and I'm pretty sure you'd need your own *server* with software to do it. Anyone care to expand on what I've said. My knowledge is fairly limited in this area.

  3. #3
    Join Date
    Nov 2001
    Posts
    4,723

    Default

    A simple password can be executed by javascript.
    Should work fine on a site hosted by an ISP.

    For a more complex password function, you will require server access. So you would have to host it yourself, or pay for the site.
    The reason a diamond shines so brightly is because it has many facets which reflect light.

  4. #4
    Join Date
    Mar 2004
    Posts
    2,910

    Default

    Heh, javascript passwording. Been there, done that. Too easy to find passwords.

  5. #5
    Join Date
    Nov 2001
    Posts
    4,723

    Default

    Quote Originally Posted by Mr.Tweak
    Heh, javascript passwording. Been there, done that. Too easy to find passwords.
    Yes - it would only prove effective against those who are honest and/or uneducated in javascript.

    Honesty on the internet? Now there's a concept!
    The reason a diamond shines so brightly is because it has many facets which reflect light.

  6. #6
    Join Date
    Nov 2001
    Location
    Ballarat, VIC
    Posts
    1,011

    Default

    so running my own server would be a bad thing?

    is it expensive?

  7. #7
    Join Date
    Nov 2001
    Posts
    4,723

    Default

    Just requires a 24/7 connection and the skills to set it up.
    The reason a diamond shines so brightly is because it has many facets which reflect light.

  8. #8
    Join Date
    Jan 2002
    Posts
    12

    Default

    is your site big enough to warrant its own server?

    why dont you just add some simple php tags to the start of all the pages?

    for example

    < ? if(isset($password)){
    if($password == 'yourpassword'){
    ? >
    this is where the html goes gor your site...
    < ? die;}? >

    this is where the html goes for unauthorised viewers...

    to acess the site you would just type
    http://server/page?password=yourpassword

    this is dependant on your hosts webserver abilities.
    Some offer ASP support rather than PHP and some offfer none...
    <a href="http://www.legionhardware.com/">LegionHardware.com</a>
    - Web Admin
    - PHP Pimp

  9. #9
    Join Date
    Nov 2001
    Location
    Ballarat, VIC
    Posts
    1,011

    Default

    ok, might give it a try, do servers such as geocities offer php support

  10. #10
    Join Date
    Nov 2001
    Posts
    2,464

    Default

    i don't think they even offer perl scripting support, so i doubt they will support php

Page 1 of 3 123 LastLast

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
  •