Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
118619 Points
18779 Posts
May 01, 2012 05:27 AM|LINK
johnjohn123123 that can helps me in implementing this issue.
1)In view maybe you can write something like this:
<input type="hidden" id="EntityProperty" value='<%=MyEncypt(Model.PropertyValue)%>'/>
For "MyEncypt",I think you can define in another static class and refer here……。
2)In Controller,when fetching the value,please do decypting。
For encypting and decypting,you can refer this nice sample: http://www.codeproject.com/Articles/5719/Simple-encrypting-and-decrypting-data-in-C
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Security Concern when Editing an object using asp.net MVC model binder
May 01, 2012 05:27 AM|LINK
1)In view maybe you can write something like this:
<input type="hidden" id="EntityProperty" value='<%=MyEncypt(Model.PropertyValue)%>'/>
For "MyEncypt",I think you can define in another static class and refer here……。
2)In Controller,when fetching the value,please do decypting。
For encypting and decypting,you can refer this nice sample: http://www.codeproject.com/Articles/5719/Simple-encrypting-and-decrypting-data-in-C