简体   繁体   English

适用于不同Web应用程序的不同机器密钥

[英]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.

相关问题 如何为不同的Web应用程序使用相同的URL - How to have same URL for different web applications web 和相同代码的桌面应用程序的不同结果 - different results for web and desktop applications for same code UserManager:不同Web应用程序中的GenerateEmailConfirmationTokenAsync()和ConfirmEmailAsync() - UserManager: GenerateEmailConfirmationTokenAsync() and ConfirmEmailAsync() in different web applications 限制来自不同Web应用程序的用户 - Restricting Users from different Web Applications 使用 web api,不同机器上的端口 - consuming web api, ports on different machine 不同Web应用程序的通用web.config连接字符串? - common web.config connectionstrings for different web applications? Web应用程序中的数据访问应该在不同的任务上运行 - Should data access in Web applications run on different Tasks? 如何从2个不同的Web应用程序配置WCF设置 - How to config WCF settings from 2 different web applications 在两个不同的Web应用程序中共享单个会话 - Sharing a single session within two different Web applications 不同的应用程序和Threadpool线程(是否)? - Different applications and Threadpool threads (or not)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM