Closed Thread Icon

Preserved Topic: password? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18150" title="Pages that link to Preserved Topic: password? (Page 1 of 1)" rel="nofollow" >Preserved Topic: password? <span class="small">(Page 1 of 1)</span>\

 
B-HOLM
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2001

posted posted 08-04-2001 01:10

how can I add a password to a site???

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 08-04-2001 01:19

DETAILS!!!!!!!

as in - what are you trying to acheive?

when, where, why, for who, what to accomplish?

maybe...

B-HOLM
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2001

posted posted 08-04-2001 02:17

I want a pop up box for a site I've got that asks for a password a little like in window in the start up...

bitdamaged
Maniac (V) Mad Scientist

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

posted posted 08-04-2001 02:52

Do yoiu want this to be a secure site?

JS isn't the task for any sort of securtiy.

What you may want is .htaccess
If you are on a Unix flavor server create a .htaccess file that looks like this

AuthUserFile /home/jdoe/public_html/goodstuff/.htpasswd
AuthName safe_stuff
AuthType Basic
<Limit GET>
require valid-user
</Limit>

The only thing you really need to change is the first line. That is a path to a .htpasswd file that has user names and passwords in this format

user assword
sheri:bcrFMwAnWVM2A





:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

B-HOLM
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2001

posted posted 08-04-2001 03:09

I don't need a very secure site.........just a password so that some body won't go in there........ýou know what I mean???

Sash
Paranoid (IV) Inmate

From: Canada, Toronto
Insane since: May 2000

posted posted 08-04-2001 03:30

Can you administer the server?
What operating system is it running on?
What server side language can you use?



Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 08-04-2001 03:59

http://www.gurusnetwork.com/tutorials/misc/htaccess.html

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 08-04-2001 09:39

Try javascript.com and go to password protectors section.

You should be able to find some JavaScript that can provide a good protection!

But it just can hide a certain link, example:

password.html -> If password ok then goto fullsite.htm.
now if password was not okay the user would never guess the url of fullsite.htm


B-HOLM
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2001

posted posted 08-04-2001 10:50

thanks for the help!.........I went to java script and I found some ok things there

ok I have just tryid and see if the code thing worked but I can't figure out where to put i............here's the code:
/********************************************************************
// Customizable Random Password Generator - 1.0
// Based On:
// http://www.phpbuilder.com/snippet/download.php?type=snippet&id=47
// Author: Digit4l [digit4l@planetquake.com]
//
// The snippet of code that this is based on does the job, but wasn't
// practical to what I needed. I reduced the code overhead immensely
// and made the snippet easier to use for newbies. To use my version
// of the snippet, just call it as: passwd();
//
// You can customize the output rather easily also. To change the
// length of the generated password, simple change the variable
// labeled $passwdlength. Currently it is set at a 15 character
// password consisting of numbers, lowercase letters, and uppercase
// letters. You can also tell it to only use certain characters by
// commenting out the appropriate $passwdkey variable.
//
// Comments can be sent via e-mail: digit4l@planetquake.com
********************************************************************/
function passwd() {
$passwdlength=15;
$passwdkey.="1234567890";
$passwdkey.="abcdefghijklmnopqrstuvwxyz";
$passwdkey.="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
srand((double)microtime()*1000000);
while ($passwdlength) {
$result.=substr($passwdkey,rand(0,strlen($passwdkey)),1);
$passwdlength--;
}
return($result);
}
?>



[This message has been edited by B-HOLM (edited 08-04-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-04-2001 11:25

That's not JavaScript, that's PHP. And it doesn't protect anything, it only generates random passwords (i.e. when you register to some web forum, it will send you confirmation e-mail with initial random password)...

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 08-04-2001 14:04

1)http://javascript.internet.com/passwords/
2)http://javascript.internet.com/passwords/login-coder.html
3)http://javascript.internet.com/passwords/gatekeeper.html

the 2nd one is made by the same person that told me about the Asylum!


B-HOLM
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2001

posted posted 08-04-2001 14:24

thanks for the help I think I have found the one I wanted

« BackwardsOnwards »

Show Forum Drop Down Menu