Created
January 16, 2018 10:45
-
-
Save Digiover/15e6045c4bcfe9a82ac075401bdd1807 to your computer and use it in GitHub Desktop.
Encrypt ASP.NET ViewState
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<machineKey | |
validationKey="AutoGenerate,IsolateApps" | |
decryptionKey="AutoGenerate,IsolateApps" | |
validation="AES" decryption="Auto" | |
/> |
Switch from AES to HMACSHA512:
<machineKey
decryption="Auto"
decryptionKey="AutoGenerate,IsolateApps"
validation="HMACSHA512"
validationKey="AutoGenerate,IsolateApps" />
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put this in the <system.web> node of your web.config