in nginx can create authentication response sends
www-authenticate:basic realm="private network"
causing login single user/password popup without creating login.aspx
setting
<security> <authentication > <anonymousauthentication enabled="true" username="test" password="test" /> <!--<basicauthentication enabled="true" logonmethod="batch" />--> <!--<windowsauthentication enabled="true" />--> </authentication> </security> <authentication mode="forms"> <forms> <credentials passwordformat="clear"> <user name="test" password="test" /> </credentials> </forms> </authentication> <location path="." > <system.web> <authorization> <allow roles="admin" /> <deny users="*"/> </authorization> </system.web>
however these settings keep taking me login.aspx unwritten.
my goal create simple u/p auth 1 user without resorting login pages or more complex auth.
Comments
Post a Comment