Programming Microsoft ASP.NET 4 - Dino Esposito [38]
The ultimate goal of this feature is to enable administrators to control the settings of a server that provides ASP.NET hosting. When a new application is installed in production, changes might be required on the target machine to reflect the native environment of the application. Updating the machine.config file on the production machine is not an issue as long as yours is the only application running or if you can directly control and configure all the applications hosted on that machine. However, in an application-hosting scenario, the administrator might decide to lock some machine settings to prevent installed applications from modifying them. In this way, the administrator can preserve, to the extent possible, the integrity of the hosting environment and guarantee that all applications run under the same conditions.
Note
By default, nearly all predefined sections can appear within a The Table 3-3. The Full List of Important Sections Allowed Within Section Overridable Description Machine, application Configures identification for users that are not authenticated. Machine, application Sets the authentication mechanism. Everywhere Indicates authorized users. Everywhere Lists known browser capabilities. Everywhere Lists predefined client targets. Everywhere Settings for batch compilation. Machine, application Settings for custom error pages. Machine only Indicates how the application is deployed. Everywhere Lists known mobile device capabilities. Machine, application Lists full-trust assemblies for the application. Everywhere Settings for application localization. Machine, application Settings to monitor the status of the application. Machine, application Defines configuration settings that control the behavior of the application hosting environment. Everywhere Configures properties for cookies used by an ASP.NET application. Everywhere Lists registered HTTP handlers. Everywhere Lists registered HTTP modules. Everywhere Lists HTTP runtime settings. Everywhere Sets impersonation. Machine, application Encryption key for sensitive data. Everywhere Configures the behavior of mobile controls. In ASP.NET 4.0, mobile controls are deprecated. Machine, application Defines settings for user authentication via ASP.NET membership. Everywhere Controls features of ASP.NET pages. Machine, application Lists partial-trust visible assemblies for the application MachineOnly Configures the process model. Machine, application Defines settings for user profile’s data model. Machine, application Defines settings for role management. Machine, application Defines allowed trust levels. Everywhere Defines page view-state settings for mobile controls. Machine, application
The