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


Please Help Members By Posting Answers For Below Questions

What is recordset asp?

715


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

700


When we use cookie less session? Explain its working?

743


What is cross page posting in asp net?

703


What are the two Layouts supported by a Web form in ASP.NET?

757






Is razor a programming language?

694


What is windows active directory authentication?

745


What is asp.net used for?

794


Where you store Connection string in "Web.Config" file in ASP.NET?

763


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1797


What is AutoEventWireup attribute for ?

776


What are the ways to sending the data in ASP.NET page?

733


If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

772


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

728


How to improve performance of web application asp.net mvc? : Asp.Net MVC

707