what do machine key element in configuration file specify?



what do machine key element in configuration file specify?..

Answer / 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

More ASP.NET Interview Questions

How can I have a particular web page in an asp.net application which displays its own error page?

0 Answers  


Hi! Could any 1 please suggest me a free practice online exam for asp.net exams.. thanks

1 Answers  


Explain the overview of asp.net?

0 Answers  


Explain the advantages of caching?

0 Answers  


what is impersonation in ASP.NET?

7 Answers   Accenture, Merrill Lynch, Wipro,






what is a .xap file? Explain with an example.

0 Answers  


What is the difference between repeater over datalist and datagrid ?

1 Answers  


How do you handle server controls?

0 Answers   Cap Gemini,


In asp.net application, if a webpage or total application seems too slow or getting delayed to load completely in the browser. As a developer, what are the checkings or actions you will take in the application or server side to rectify the slowness or delay load or which are the factors related to this issue? How we can trace it?

1 Answers  


I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do?

1 Answers   Patni,


What do you understand by aggregate dependency?

0 Answers   MindCracker,


What for use web.sitemap in asp.net?

1 Answers  


Categories