|
-
April 27th, 2004, 03:45 AM
#1
URL Hashing in .NET
Hi Friends,
I've an interesting problem in .NET... I'm developing an Web app in .NET which requires the URL of the page(as shown in Browser's Address) to be hashed (encrypted) when posting the page and directing user to another page.
For eg., if the URL of the page is http://SaleSource.ebix.com/Customer.aspx?ID=1&flag=2
then the hashed URL should look like
http://SaleSource.ebix.com/p1.aspx or somewhat like this...
What I actually mean is the page name along with the Querystring variables need to be encrypted when the page is posted to prevent any malicious use or false post. I know there are different Hashing algorithms like MD5, SHA1 etc., but I need to know how one can write code in .NET to actually use these hashing algos to hash URLs...
Also when the page is posted, then in the next page the Querystring variable values need to be decrypted in order to use them.
Can someone help...it's urgent???
Thanks in advance.
cheers,
debsoft
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|