ENcoding URL

2001-04-17 Thread Pooh Bear

hey yall, is there a way to hide the values in the URL so people can't see 
them?

like I am passing URL variables, like Something=4This=Hiyah
is there a way to hide the values or display them differently
~~
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: ENcoding URL

2001-04-17 Thread Bryan LaPlante

no without useing a form post

- Original Message -
From: "Pooh Bear" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 2:37 PM
Subject: ENcoding URL


 hey yall, is there a way to hide the values in the URL so people can't see
 them?

 like I am passing URL variables, like Something=4This=Hiyah
 is there a way to hide the values or display them differently

~~
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: ENcoding URL

2001-04-17 Thread Douglas A. Hott

Even then, with some easy-to-get sniffer software, users can still see and
modify hidden form variables.

-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 4:25 PM
To: CF-Talk
Subject: Re: ENcoding URL


no without useing a form post

- Original Message -
From: "Pooh Bear" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 2:37 PM
Subject: ENcoding URL


 hey yall, is there a way to hide the values in the URL so people can't see
 them?

 like I am passing URL variables, like Something=4This=Hiyah
 is there a way to hide the values or display them differently

~~
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: ENcoding URL

2001-04-17 Thread Pooh Bear

But I could have sworn i have used it before and it worked!!!  I think it 
was in a Coldfusion 4.5 FOR DUMMIES book.  come on, one of u guys have gotta 
know it!




From: "Bryan LaPlante" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Re: ENcoding URL
Date: Tue, 17 Apr 2001 15:24:47 -0500

no without useing a form post

- Original Message -
From: "Pooh Bear" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 2:37 PM
Subject: ENcoding URL


  hey yall, is there a way to hide the values in the URL so people can't 
see
  them?
 
  like I am passing URL variables, like Something=4This=Hiyah
  is there a way to hide the values or display them differently
 

~~
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: ENcoding URL

2001-04-17 Thread Dylan Bromby

sure there is.

encrypt the strings. i do it all the time. i also make the key for
encryption dynamic so the URLs can't be copied  pasted.

on top of which, in some cases i URLEncodedFormat() the already encrypted
strings. which further makes them undecipherable.

-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 1:25 PM
To: CF-Talk
Subject: Re: ENcoding URL


no without useing a form post

- Original Message -
From: "Pooh Bear" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 2:37 PM
Subject: ENcoding URL


 hey yall, is there a way to hide the values in the URL so people can't see
 them?

 like I am passing URL variables, like Something=4This=Hiyah
 is there a way to hide the values or display them differently

~~
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: ENcoding URL

2001-04-17 Thread Pooh Bear

how do I encrypt the string?! :(


From: "Dylan Bromby" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: ENcoding URL
Date: Tue, 17 Apr 2001 14:11:29 -0700

sure there is.

encrypt the strings. i do it all the time. i also make the key for
encryption dynamic so the URLs can't be copied  pasted.

on top of which, in some cases i URLEncodedFormat() the already encrypted
strings. which further makes them undecipherable.

-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 1:25 PM
To: CF-Talk
Subject: Re: ENcoding URL


no without useing a form post

- Original Message -
From: "Pooh Bear" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 2:37 PM
Subject: ENcoding URL


  hey yall, is there a way to hide the values in the URL so people can't 
see
  them?
 
  like I am passing URL variables, like Something=4This=Hiyah
  is there a way to hide the values or display them differently
 

~~
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: ENcoding URL

2001-04-17 Thread Costas Piliotis

#Urlencodedformat(encrypt(text, encryptionkey))#

-Original Message-
From: Pooh Bear [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 17, 2001 3:50 PM
To: CF-Talk
Subject: RE: ENcoding URL


how do I encrypt the string?! :(


From: "Dylan Bromby" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: ENcoding URL
Date: Tue, 17 Apr 2001 14:11:29 -0700

sure there is.

encrypt the strings. i do it all the time. i also make the key for 
encryption dynamic so the URLs can't be copied  pasted.

on top of which, in some cases i URLEncodedFormat() the already 
encrypted strings. which further makes them undecipherable.

-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 1:25 PM
To: CF-Talk
Subject: Re: ENcoding URL


no without useing a form post

- Original Message -
From: "Pooh Bear" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 2:37 PM
Subject: ENcoding URL


  hey yall, is there a way to hide the values in the URL so people 
  can't
see
  them?
 
  like I am passing URL variables, like Something=4This=Hiyah is 
  there a way to hide the values or display them differently
 

~~
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: ENcoding URL

2001-04-17 Thread Todd Ashworth

From the CFStudio help files:

Encrypt
Encrypts a string. The Encrypt function uses a symmetric key-based algorithm
in which the key used to encrypt a string is the same key as the one used to
decrypt the string. The security of the encrypted string hinges on
maintaining the secrecy of the key. In particular, Encrypt uses an XOR-based
algorithm that utilizes a pseudo-random 32-bit key based on a seed passed by
the user as a parameter to the function. The resultant data is UUencoded and
may be as much as three times the original size.

See also Decrypt.

Syntax
Encrypt(string, seed)

string
String to be encrypted.

seed
String specifying the seed to be used to generate the 32-bit key needed to
encrypt the string.

Examples
!--- This example shows the use of Encrypt and Decrypt ---
HTML
HEAD
TITLEEncrypt Example/TITLE
/HEAD

BODY BGCOLOR=silver
H3Encrypt Example/H3

PThis function allows for the encryption and decryption of a
string. Try it out by entering your own string and a key of your
own choosing and seeing the results.
CFIF IsDefined("FORM.myString")
   CFSET string = FORM.myString
   CFSET key = FORM.myKey
   CFSET encrypted = encrypt(string, key)
   CFSET decrypted = decrypt(encrypted, key)
   CFOUTPUT
 H4BThe string:/B/H4 #string# BR
 H4BThe key:/B/H4 #key#BR
 H4BEncrypted:/B/H4 #encrypted#BR
 H4BDecrypted:/B/H4 #decrypted#BR
/CFOUTPUT
/CFIF
FORM ACTION="encrypt.cfm" METHOD="post"
PInput your key:
PINPUT TYPE="Text" NAME="myKey" VALUE="foobar"
PInput your string to be encrypted:
PtextArea NAME="myString" cols="40" rows="5" WRAP="VIRTUAL"
This string will be encrypted (try typing some more)
/textArea
INPUT TYPE="Submit" VALUE="Encrypt my String"
/FORM
/BODY
/HTML

Todd

- Original Message -
From: "Pooh Bear" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 6:49 PM
Subject: RE: ENcoding URL


 how do I encrypt the string?! :(


 From: "Dylan Bromby" [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Subject: RE: ENcoding URL
 Date: Tue, 17 Apr 2001 14:11:29 -0700
 
 sure there is.
 
 encrypt the strings. i do it all the time. i also make the key for
 encryption dynamic so the URLs can't be copied  pasted.
 
 on top of which, in some cases i URLEncodedFormat() the already encrypted
 strings. which further makes them undecipherable.



~~
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: Encoding URL Variables

2001-02-27 Thread Joseph Thompson

Not 100% secure, but you could encrypt the value...

 How do I encode URL variables so that I can pass semi-sensitive info over
URL?


!--- duh.cfm ---
cfset thestring = "A new value?"
cfset thekey = "test"

cfoutput
form action="duh2.cfm" method="get"
 input type="hidden" name="test10"
value="#URLEncodedFormat(Encrypt(thestring, thekey))#"
 input type="submit" value="Test"
/form
/cfoutput


!---Duh2.cfm---
cfset thekey = "test"

cfset decodedvalue = decrypt(URLDecode(test10), thekey)

cfoutput
#decodedvalue#
/cfoutput



~~
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



Encoding URL Variables

2001-02-26 Thread Willy Ray

How do I encode URL variables so that I can pass semi-sensitive info over URL?

Willy Ray



~~
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