Re: password protecting a script

by Floyd Baker <fbaker(at)olm1.com>

 Date:  Mon, 03 Jul 2000 17:42:52 -0400
 To:  "M Lessar Jr" <rfd246(at)bigfoot.com>
 Cc:  "HTML GUILD" <hwg-basics(at)hwg.org>
 References:  bigfoot
  todo: View Thread, Original



On Mon, 3 Jul 2000 16:26:40 -0400, you wrote:

>I have written a script that I just want to verify that the person is logged
>into, I don't want tp use .htaccess.
>
>I am looking for something so that if somebody knows the inside links such
>as;
>
>#1  http://www.something.com/cgi-bin/something.cgi  being the original
>script
>
>#2  http://www.something.com/cgi-bin/something.cgi?action=editsomething
>being the inside link.
>
>I want is so that is they type in #2 it takes them to the login page, but
>once they have logged in they don't need to keep logging in to use the
>script.
>
>I also am not looking at putting the password in a hidden file that could be
>viewed when somebody looks at the source.
>
>I have been pulling my hair out today and I can't seem to think of the right
>way to accomplish this.
>
>
>
>Thanks
>Mike
>

Does your server have PHP?
If so, you will have several ways for doing what you want.   

--

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA