Closed Thread Icon

Preserved Topic: any cgi experts around here??? Pages that link to <a href="https://ozoneasylum.com/backlink?for=17802" title="Pages that link to Preserved Topic: any cgi experts around here???" rel="nofollow" >Preserved Topic: any cgi experts around here???\

 
Author Thread
timothymcnulty
Neurotic (0) Inmate
Newly admitted
posted posted 06-14-2000 15:13

My knowledge of cgi is pretty limited. I have not been able to take the time to sit down and learn the majority of it.

Anyways, I am looking for a script that will do the following:

1. Check a password against an array of 4 passwords.

2. If the password entered is equivelent to one of the actual passwords, re-direct the user to another url. If it is not equal go to a different url.

3. Build a file to keep track of how many times each of the 4 passwords have been used.

I would appreciate the help. Thanks a lot.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 06-14-2000 23:12

I think Javascript would be a better avenue to go down for the password thing. That keeps it hidden better. You should make a .js file and have it linked to that. I would be a simple password box.

I know that CGI like PERL which is the easiest to code is the least secure you can get. Not to sure about recording the number of uses with JS though...

Try matt's script archive, might have somethign there.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 06-15-2000 21:45

Umm javascript is BAAADDD for password protecting a page. You can see what it is checking everytime. I can write you a little something in perl for it though lemme wee what I can do this weekend


Walking the Earth like Kane

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-16-2000 16:17

If it's on a Unix box, couldn't you use .htaccess files? That seems to me to be the best and most secure method.

Pat Richard
Web weenie

« BackwardsOnwards »

Show Forum Drop Down Menu