Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 are the different types of validation controls provided in ASP.NET?

1118


How can we prevent browser from caching an aspx page?

860


Can we set master page as a start page?

975


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?

931


Define common type system?

918


Can you explain how ASP.NET application life cycle and page life cycle events fire?

969


What’s the use of “GLOBAL.ASAX” file?

1030


what is the difference between response.write() and response.output.write()?

1107


How long the items in ViewState exists?

1400


How can we inherit a static member?

1012


Tell me the code snippet to show how we can return 404 errors from HttpError?

1218


What is content place holder?

903


What is the usage of DelegatingHandler?

1014


How to bind all the binding controls in a page at once in ASP.NET?

927


What is difference between web config and global asax?

823