Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 21st, 2004, 07:08 AM
Authorized User
 
Join Date: Jun 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hashing of URL while posting web pages

Hi Friends,

I've an interesting problem in .NET... I'm developing an Web app in .NET which requires the URL of the page 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 something 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
__________________
cheers,
debsoft
 
Old April 22nd, 2004, 09:20 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Usually, Hashing is a one-way street. You can't "un-hash" something. You could encrypt it however.





Similar Threads
Thread Thread Starter Forum Replies Last Post
cross-page posting within pages with master file.. poogles ASP.NET 2.0 Basics 2 August 6th, 2007 05:11 AM
Posting Values between several pages jontun4 ASP.NET 2.0 Basics 1 October 21st, 2006 01:06 AM
Posting an XML file to an URL from C virajithasarma XML 0 October 7th, 2005 01:47 AM
First Posting - Savings in first 20 pages. Bob Hansen BOOK: Expert One-on-One Access Application Development 2 May 20th, 2004 08:06 PM
posting to a URL? Bill Crawley XML 1 December 2nd, 2003 05:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.