Which's the best way to protect primary key on ASP.NET MVC?
Posted
by Junior Mayhé
on Stack Overflow
See other posts from Stack Overflow
or by Junior Mayhé
Published on 2010-04-05T19:37:10Z
Indexed on
2010/04/05
19:43 UTC
Read the original article
Hit count: 348
I'm creating a ASP.NET MVC website and I was wandering which techniques do you guys use to protect primary key on these mvc urls.
Actually ASP.NET MVC generates this syntax for its urls:
/Controller/Action/Id
Last week I was trying to encrypt it using SHA-1 Encryption, but this encrypter generates some special symbols like + (plus), / (slash), and other annoying chars which difficult the decryption.
Perhaps creating a custom encryption should solve the problem. But I wanna here from you guys, do you have some ideas to protect mvc urls?
© Stack Overflow or respective owner