Create a UUID in the database for each account, so to unsubscribe you
get a link like.

Www.mysite.com/unsubscribe.cfm?code=#UUID#

And in the code you compare the UUID against the one in the database.

HTH

Russ Michaels
Macromedia/Allaire Certified ColdFusion Developer
 
CFDeveloper
The free resource and community for ColdFusion developer.
http://www.cfdeveloper.co.uk

Join the CFDeveloper discussion lists.
To subscribe send an e-mail to [EMAIL PROTECTED]

> -----Original Message-----
> From: Giles Roadnight [mailto:[EMAIL PROTECTED] 
> Sent: 25 October 2003 15:44
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] Encrypting passwords
> 
> 
> I am writing a mailing list application and want to include a 
> link in all e-mails to unsubscribe. I don't want anyone to be 
> able to come to the site and unsubscribe an address without 
> having to enter a password. I don't want people to have to 
> enter a password if they click on a link to unsubscribe. I 
> don't want to include the password in the e-mail so anyone 
> reading it can find out the password. Basically I want to 
> encrypt the password in the link so that the server can 
> de-code the password, check it against the password in the DB 
> then unsubscribe the address. I know nothing about this sort 
> of stuff so any help much appreciated. Thanks
>  
> Giles Roadnight
> http://giles.roadnight.name
>  
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to