In my ASP.NET\'s Web Config file I have the following location elements defined:
You cannot specify multiple elements in the path attribute, but you can make use of the configSource attribute.
For example, the following original web.config file:
Can be replaced by the following equivalent web.config, allow.config, and deny.config files:
web.config
allow.config
deny.config
The usefulness of this approach increases as the number of allow/deny rules in each section increases.