Re: Random Password

2004-02-01 Thread Critter
oi Stuart!!

have a gander at www.cflib.org there are a few results for a "password" search

/crit

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-[ Help me fight to keep my son in the US ]-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://keepmysoninthe.us ]-=

Sunday, February 1, 2004, 12:44:48 PM, you wrote:

SK> Hi guys,

 
SK> I'm trying to work out how to come up with a random password of 8
SK> alpha-numeric characters.  I have done it before but a hell of a long
SK> time ago and have checked all my old code but can't find it.

 
SK> Would I have to create an array?

 
SK> It won't be their permanent password as once they log onto the site they
SK> can change it.

 
SK> Cheers,

 
SK> Stuart

SK>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Random Password

2004-02-01 Thread Stuart Kidd
Oi Oi Critter,

 
Thanks old chap, found a nice  there.  What I did was put that
script into my includes directory and when I need to make a password on
a page I am going to include it  and then set the variable.

 
What is a UDF?

 
Cheers,

 
Stuart

 
-Original Message-
From: Critter [mailto:[EMAIL PROTECTED] 
Sent: 01 February 2004 18:37
To: CF-Talk
Subject: Re: Random Password

 
oi Stuart!!

have a gander at www.cflib.org there are a few results for a "password"
search

/crit

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-[ Help me fight to keep my son in the US ]-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://keepmysoninthe.us ]-=

Sunday, February 1, 2004, 12:44:48 PM, you wrote:

SK> Hi guys,

SK> I'm trying to work out how to come up with a random password of 8
SK> alpha-numeric characters.  I have done it before but a hell of a
long
SK> time ago and have checked all my old code but can't find it.

SK> Would I have to create an array?

SK> It won't be their permanent password as once they log onto the site
they
SK> can change it.

SK> Cheers,

SK> Stuart

SK>
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Random Password

2004-02-01 Thread Michael T. Tangorre
Stuart...

 
Check out some of the UDFs at cflib.org.

 
This is one of them

 
http://www.cflib.org/udf.cfm?ID=258

 
Search on "Password" and you will see some others.

 
Mike

  _  

From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 01, 2004 12:45 PM
To: CF-Talk
Subject: Random Password

Hi guys,

I'm trying to work out how to come up with a random password of 8
alpha-numeric characters.  I have done it before but a hell of a long
time ago and have checked all my old code but can't find it.

Would I have to create an array?

It won't be their permanent password as once they log onto the site they
can change it.

Cheers,

Stuart 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Random Password

2004-02-01 Thread Critter
oi Stuart!!

just stands for "user defined function"

-- 
Currently Playing: Simple Plan - God Must Hate Me

=-=-=-=-=-=-=-=-=-=-=-=-=-[ Help me fight to keep my son in the US ]-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://keepmysoninthe.us ]-=

Sunday, February 1, 2004, 2:41:28 PM, you wrote:

SK> Oi Oi Critter,

 
SK> Thanks old chap, found a nice  there.  What I did was put that
SK> script into my includes directory and when I need to make a password on
SK> a page I am going to include it  and then set the variable.

 
SK> What is a UDF?

 
SK> Cheers,

 
SK> Stuart

 
SK> -Original Message-
SK> From: Critter [mailto:[EMAIL PROTECTED] 
SK> Sent: 01 February 2004 18:37
SK> To: CF-Talk
SK> Subject: Re: Random Password

 
SK> oi Stuart!!

SK> have a gander at www.cflib.org there are a few results for a "password"
SK> search

SK> /crit

---
[This E-mail scanned for viruses by Declude Virus]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Random Password

2001-05-03 Thread Dylan Bromby

there are some tags in allaire's tag gallery that do that.

-Original Message-
From: Chris Badouin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 9:24 AM
To: CF-Talk
Subject: Random Password


All-

Sorry I am pressed for time today, but does any one have script for
generating random passwords?

CB
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Random Password

2001-05-03 Thread Robert Long

Here's one I use to create a random numeric password...


hth

-Original Message-
From: Chris Badouin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 11:24 AM
To: CF-Talk
Subject: Random Password


All-

Sorry I am pressed for time today, but does any one have script for
generating random passwords?

CB
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Random Password

2001-05-03 Thread Bill Simpson

This should work:






This will generate a random 8 character password if you need a different
length then just change 'to' in the cfloop tag.


-Original Message-
From: Chris Badouin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 9:24 AM
To: CF-Talk
Subject: Random Password


All-

Sorry I am pressed for time today, but does any one have script for
generating random passwords?

CB
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Random Password

2001-05-03 Thread Chris Martin

Here's one I got off this list a while ago.  Props to whoever wrote it,
because its helped me out a few times.


random_word = Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ", RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);

password = "#random_word##RandRange(1000,)#";


PASSWORD: #password#

it will generate a password with 7 random letter and a 4 digit number.

-Original Message-
From: Chris Badouin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 12:24 PM
To: CF-Talk
Subject: Random Password


All-

Sorry I am pressed for time today, but does any one have script for
generating random passwords?

CB
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Random Password

2001-05-03 Thread Peter Tilbrook


password = "" ;
for (c=1; c le 7; c=c+1)
{password = password & chr(randRange(65,90)) ; }
password = password & randRange(1000,) ;


-Original Message-
From: Chris Badouin [mailto:[EMAIL PROTECTED]]
Sent: Friday, 4 May 2001 02:24
To: CF-Talk
Subject: Random Password


All-

Sorry I am pressed for time today, but does any one have script for
generating random passwords?

CB
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Random Password

2001-05-03 Thread Pablo Varando

Courtesy of CFTipsPlus.Com

RandomAlphaNumerical passwords:





 

Then pass the value:
#newPass#


Hope this helps,

Pablo
http://www.cfm-resources.com

- Original Message -
From: "Robert Long" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 3:08 PM
Subject: RE: Random Password


> Here's one I use to create a random numeric password...
> 
>
> hth
>
> -Original Message-
> From: Chris Badouin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 11:24 AM
> To: CF-Talk
> Subject: Random Password
>
>
> All-
>
> Sorry I am pressed for time today, but does any one have script for
> generating random passwords?
>
> CB
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Random Password

2001-05-03 Thread Tony Schreiber

I've used something like that too, wanting to keep it a consistent number 
of digits (and you should seed the random with something prior):



> Here's one I use to create a random numeric password...
> 
> 
> hth
> 
> -Original Message-
> From: Chris Badouin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 11:24 AM
> To: CF-Talk
> Subject: Random Password
> 
> 
> All-
> 
> Sorry I am pressed for time today, but does any one have script for
> generating random passwords?
> 
> CB
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Random Password

2001-05-03 Thread Peter Stolz

I wrote a custom tag that does this:



generates a pseudo random string of specified length containing only
characters
found between the ascii values of CHARSTART and CHAREND








result = "";

for(i=1;i LT Attributes.Length;i=i+1){
result = result &
Chr(RandRange(Asc(Attributes.CharStart),Asc(Attributes.CharEnd)));
}

SetVariable("Caller.#Attributes.OutputVar#",result);



P.

-Original Message-
From: Chris Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 5:38 PM
To: CF-Talk
Subject: RE: Random Password


Here's one I got off this list a while ago.  Props to whoever wrote it,
because its helped me out a few times.


random_word = Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ", RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);
random_word = random_word & Mid("ABCDEFGHIJKLMNOPQRSTUVWXYZ",
RandRange(1,26), 1);

password = "#random_word##RandRange(1000,)#";


PASSWORD: #password#

it will generate a password with 7 random letter and a 4 digit number.

-Original Message-
From: Chris Badouin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 12:24 PM
To: CF-Talk
Subject: Random Password


All-

Sorry I am pressed for time today, but does any one have script for
generating random passwords?

CB
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists