|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Encrypting URLs
Author: Samuel R. Neff
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32710#164074
As Jim said, you need to URLEncodedFormat() the result of Encrypt() before
putting it in the url...
Sam
----------------------------------------
Blog http://www.rewindlife.com
TeamMM http://www.macromedia.com/go/team
----------------------------------------
----- Excess quoted text cut - see Original Post for more -----
Author: Philip Arnold
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32710#164071
> From: Les Irvin
>
> What's the best way to encrypt URL variables? For example,
> I'm passing an ID number but do not want it recognizable in the URL
>
> The "encrypt" function doesn't seem to work as it creates
> reserved url characters.
You can't use Encrypt() for URL variables because of the special
characters it creates
Here's an idea though, as long as you don't mind "long" URLs:
Have a db table with "lookups", store a UUID with all of the URL
variables, then when you call a UUID, it looks up the equivalent URL
variables and uses them
How's that?
Author: Jim Davis
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32710#164068
If you're happy with the results of encrypt() (which isn't really that
strong of encryption) then all you'd have to do to use it is to
URLEncodedFormat() the value before using it on the URL.
This will add some length the encrypted value, but if all you're encrypting
is an ID number it shouldn't cause problems.
Jim Davis
_____
Sent: Saturday, May 22, 2004 12:17 AM
To: CF-Talk
Subject: Encrypting URLs
What's the best way to encrypt URL variables? For example, I'm passing an
ID number but do not want it recognizable in the URL
The "encrypt" function doesn't seem to work as it creates reserved url
characters.
Thanks in advance for any help,
Les
Author: Les Irvin
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32710#164066
What's the best way to encrypt URL variables? For example, I'm passing an
ID number but do not want it recognizable in the URL
The "encrypt" function doesn't seem to work as it creates reserved url
characters.
Thanks in advance for any help,
Les
|
May 24, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||