asp.net - How to check whether EnableViewStateMac is set at runtime? -
In ASP.NET, the viewstate is protected from tampering on the client, which is the signature generated by the machine secret on the server. But this protection can be easily turned off:
& lt;% @ page ... EnableWegetMack = "incorrect"%>
I am writing an ASP.NET control that may store security-sensitive information (not secretive ... but it did not tamper it Depending on whether EnableViewStateMac is true or not,
How do I want to see the runtime on or off?
You just need to be able to reference
Enable the widgets
from within your code.
Comments
Post a Comment