what do machine key element in configuration file specify?
Answer Posted / karthika.s
Machine key element in configuration file configures keys to
use for encryption and decryption of forms, authentication
cookie data and view-state data, and for verification of
out-of-process session state identification.
The validation key should be in the range of 20 to 64.
Decryption key—8 or 24. Between SHA1 and MD5 algorithms used
for validation SHA1 produces a longer key and is therefore
recommended. The tool creates an 8-byte key for the Data
Encryption Algorythm (DES) and a 24-byte one for Triple-DES
(3DES).
Once keys are generated they are converted into a string of
hexadecimal characters.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the different types of validation controls provided in ASP.NET?
How can we prevent browser from caching an aspx page?
Can we set master page as a start page?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
Define common type system?
Can you explain how ASP.NET application life cycle and page life cycle events fire?
What’s the use of “GLOBAL.ASAX” file?
what is the difference between response.write() and response.output.write()?
How long the items in ViewState exists?
How can we inherit a static member?
Tell me the code snippet to show how we can return 404 errors from HttpError?
What is content place holder?
What is the usage of DelegatingHandler?
How to bind all the binding controls in a page at once in ASP.NET?
What is difference between web config and global asax?