Lijo
(Lijo)
1
Hi,
I am using below power shell script to enable basic authentication for my site
Set-WebConfigurationProperty -filter “/system.webServer/security/authentication/BasicAuthentication” -name enabled -value $enableBasicAuthentication -PSPath $appPath
I also need to set the default domain and realm for basic authentication.
Could you pleas let me know how can i do that?
Dalmiro
(Dalmiro Grañas)
2
Hi,
Thanks for reaching out! there’s no built-in way to do that from Octopus (as you’ve probably figured out cause you are already scripting this). This link seems to show how to do all these things: https://technet.microsoft.com/en-us/library/cc772009(v=ws.10).aspx
Disclaimer: Haven’t tested this myself
Hope that helps!
Dalmiro