简体   繁体   中英

<machinekey> in web.config and machine.config

If the machine.config file does not define any section, nor does any web.config file, does it default to AutoGenerate option?

Thanks

Vikas

Yes, the AutoGenerate setting is the default setting for both decryptionKey and validationKey.

"AutoGenerate, IsolateApps" - Specifies that the key is automatically generated. This is the default value. The AutoGenerate modifier specifies that ASP.NET generates a random key and stores it in the Local Security Authority (LSA). The IsolateApps modifier specifies that ASP.NET generates a unique encrypted key for each application using the application ID of each application.

Source: http://msdn.microsoft.com/en-us/library/w8h3skw9.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM