[英]Different machine keys for different web applications
I have two web applications running under .NET4. 我有两个在.NET4下运行的Web应用程序。 Both the web applications are hosted on same server.
这两个Web应用程序都托管在同一服务器上。 I have two questions here:
我在这里有两个问题:
Will both of these applications share same machine key? 这两个应用程序是否共享相同的机器密钥? How can I have different machine keys for different applications
如何为不同的应用程序使用不同的机器密钥
If they are different applications, the default settings will give them a different machineKey. 如果它们是不同的应用程序,则默认设置将为它们提供不同的machineKey。 That's what
IsolateApps
is for. 这就是
IsolateApps
目的。
AutoGenerate, IsolateApps Specifies that the key is automatically generated.
AutoGenerate,IsolateApps指定自动生成密钥。 This is the default value.
这是默认值。
And IsolateApps means... 而IsolateApps意味着...
The IsolateApps modifier specifies that ASP.NET generates a unique encrypted key for each application using the application ID of each application.
IsolateApps修饰符指定ASP.NET使用每个应用程序的应用程序ID为每个应用程序生成唯一的加密密钥。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.