I have a folder i created residing under the Default Umbraco directory. I have tried adding a web.config file inside this newly created folder and then added the below configuration
<configuration>
<system.webServer>
<security>
<authorization>
<allow user="umbracoUsername"/>
<deny users="*"/>
</authorization>
</security>
</system.webServer>
</configuration>
The purpose is to allow only Umbraco admins (as in the group that is set as Administrators) to access this directory and contents and no one else.
The above allows all users to access this directory/contents and all examples I've seen are similar to the above.
Is there something im doing wrong? The site is running under IIS (Windows Server 2012) and im using Umbraco 7.