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

What is custom attribute? How to create?

0 Answers  


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

0 Answers  


what is the deference between dataset and data adapter?

4 Answers   TCS,


For a server control, you need to have same properties like color maxlength, size, and allowed character throughout the application. How do you handle this?

2 Answers   Microsoft,


how to use html code in asp source code?

1 Answers  


What is the difference between session and viewstate?

0 Answers  


What are the differences between clr & cts?

0 Answers  


any body help me. Is it possible to convert text in gif images into word document with the same text? thanks in advance.

2 Answers  


To load your generated dataset with data which method do you invoke?

0 Answers   Siebel,


view state data is stored in which format?

15 Answers   Mind Tree, Pratham Software,


What are session state modes? List some of the important session state modes of asp.net.

0 Answers  


What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

4 Answers  


Categories