Hai
I am trying to open report with follwoing code. and i don't want show userid
and password of database in address location bar. then in my current system
it is working fine( i mean userid and password converting into encryption
format).
but problem is when i open an others system then it is
populating dialogbox and saying that "plese enter userid and password for
database" .
so i don't want to populate this dialogbox to users.
Plese can any one help me na.
This is my code.
<cfset rep = CFUSION_ENCRYPT("user0=ianmedrpt&password0=ianmedrpt","2")>
<cflocation url="../report/hrall.rpt?init=actx&#rep#">
Thanx
Ramesh
-----Original Message-----
From: Steve Bernard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 8:47 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: NEED HELP Encrypt Url ?
I know how to use cfencrypt/cfdecrypt. In the posting to which I responded,
Karl, the writer, stated, "I solved the problem by getting rid of the CF
encrypt/decrypt method and developing a custom encryption/decryption
algorithm to pass encrypted URLs, which has worked fine ever since." It was
to this that I was asking for more information.
Regards,
Steve
-----Original Message-----
From: Mirek Hryckowiak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 26, 1998 5:44 PM
To: [EMAIL PROTECTED]
Subject: Re: NEED HELP Encrypt Url ?
Steve,
the cfencrypt, cfdecrypt usage is:
<!--- encrypt string --->
<cfset encryptedVariable = CFUSION_ENCRYPT("InputString","yourKey")>
<!--- decrypt string --->
<cfset decryptedVariable = CFUSION_DECRYPT("encryptedVariable","yourKey")>
To encrypt/decrypt url (cgi.query_sring) use:
<!--- test.cfm --->
<!--- if your link should be: test2.cfm?a=1&b=2&c=n --->
<cfset eV = CFUSION_ENCRYPT("a=1&b=2&c=n","yourKey")>
<a href="test.cfm?#eV#">check it</a>
<!--- test2.cfm --->
<cfset cgiList = CFUSION_DECRYPT("eV","yourKey")>
<!--- ...write some code to get the variable/value pairs from
you eV (encrypted cgi string) variable --->
Have fun,
Miro
----- Original Message -----
From: "Steve Bernard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 17, 2000 9:47 PM
Subject: RE: NEED HELP Encrypt Url ?
> Could you share your solution with the class?
>
> Steve
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.