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 the difference between application state and session state in asp net?

0 Answers  


What is sdlc process?

0 Answers  


What parameters can you pass in the url of the api?

0 Answers  


What is the mvc framework?

0 Answers  


Explain how is a property designated as read-only?

0 Answers  


What types of data validation events are commonly seen in the client-side form validation?

0 Answers  


which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row

3 Answers   Airtel, Aviva,


What is the default Orientation property in a Menu control?

0 Answers   Sans Pareil IT Services,


Explain a program using razor view engine to create a simple application? : asp.net mvc

0 Answers  


What is boxing and how it is done internally?

1 Answers   Microsoft,


What is the Web.config file used for? a) To store the global information and variable definition for the application. b) Configures the time that the server-side codebehind module is called c) To Configure the Web Server. d) To Configure the Web browser.

8 Answers   HCL, IBM, Syntax Softtech, Vypin, WideVision Technologies,


Can a master page have more than one contentplaceholder?

0 Answers  


Categories