I wish to disable the "Anonymous Authentication" &lifier let the "Home windows Authentication" on the internet.config apply for my asp.internet website...

I am developing a web setup &lifier I wish to do this all instantly(by editing the net.config by hand) instead of altering these setting in the IIS.

I attempted to perform a similar method to the main one that's pointed out in this website http://world wide web.iis.internet/ConfigReference/system.webServer/security/authentication

for adding this config:

<location path="MyWebSiteName">




            <anonymousAuthentication enabled="false" />

            <windowsAuthentication enabled="true" />





towards the web.config file, however it does not work...

So, what's wrong ??

Thanks alot