Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Dear Friends,

I have to implement security on my website for the URL's, as currently they show full name of the Pages in which they land (once clicked on the menu) and also while going in the edit mode they show the ID of the particular record being edit.

Here i am thinking of two techniques of proceeding the security i.e.,

1). URL Rewriting OR
2). Encrypting the URL (which i think is not a good option)

Kindly suggest the correct option or some other solution for the same.

Thanks

Varun Sareen
Posted
Comments
BillWoodruff 3-Nov-11 22:05pm    
It would be interesting to know why the user seeing the url of a page is a security risk. And, why can't selection on a menu pass an index, or whatever, to the server, and the server then send down a page with something like "www.yoursite.com/bunchofhexjunk" ?

 
Share this answer
 
URL Routing with ASP.NET 4.0[^]

This link helped achieve the same.
 
Share this answer
 
 
Share this answer
 
Comments
Varun Sareen 7-Feb-12 6:08am    
I have asked the question with asp.net 4.0 not with older versions. Still thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900