Score:0

What can prevent IIS 10.0 from applying applicationHost.config locks on location of system.webserver/security/access settings?

om flag

I have three instances of an application: local, Staging (remote) and Production (remote). All three of them are running IIS 10. Local is Windows 10, the two remote servers are Windows Server 2016.

All three have applicationHost.config configured like this:

<configuration>
    <configSections>
        <sectionGroup name="system.webServer">
            <sectionGroup name="security">
                <section name="access" overrideModeDefault="Deny" />
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <location path="mbrs">
        <system.webServer>
            <security>
                <access sslFlags="Ssl, SslNegotiateCert, SslRequireCert, Ssl128" />
            </security>
        </system.webServer>
    </location>
</configuration>

Local and Staging respect this configuration, and the IIS Configuration Editor will correctly identify the storage location of SSL flags as being locked by and in applicationHost.config. Changing overrideModeDefault to "Allow", or adding overrideMode="Allow" to the location tag will remove the lock. Changing overrideModeDefault to "Allow", and adding overrideMode="Deny" to the location tag will enforce the lock.

Production, does not respect the lock under any circumstance and will always allow the SSL flags to be saved to web.config.

Extensive reading of the Microsoft documentation leads me to believe that there are no other configuration files or values which could be affecting this situation, but since it is our production server which is apparently breaking the locking rules I am rather hoping that I am wrong!

What am I missing?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.