Mega Code Archive
Locking Configuration Settings
You can lock configuration settings so that they cannot be overridden at a lower level in the configuration hierarchy.
The following Web.config file locks a setting by using the allowOverride="false".
File: Web.config