Revert "Enable anonymous authentication alongside Windows auth"
This reverts commit 32ff0a4888.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"$schema": "http://json.schemastore.org/launchsettings.json",
|
"$schema": "http://json.schemastore.org/launchsettings.json",
|
||||||
"iisSettings": {
|
"iisSettings": {
|
||||||
"windowsAuthentication": true,
|
"windowsAuthentication": true,
|
||||||
"anonymousAuthentication": true,
|
"anonymousAuthentication": false,
|
||||||
"iisExpress": {
|
"iisExpress": {
|
||||||
"applicationUrl": "http://localhost:3643",
|
"applicationUrl": "http://localhost:3643",
|
||||||
"sslPort": 44347
|
"sslPort": 44347
|
||||||
|
|||||||
26
web.config
26
web.config
@@ -1,25 +1 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?><configuration><system.webServer><handlers><add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /></handlers><aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" hostingModel="InProcess"><environmentVariables><environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" /></environmentVariables></aspNetCore><security><authentication><windowsAuthentication enabled="true"><providers><clear /><add value="NTLM" /><add value="Negotiate" /></providers></windowsAuthentication></authentication></security></system.webServer></configuration>
|
||||||
<configuration>
|
|
||||||
<system.webServer>
|
|
||||||
<handlers>
|
|
||||||
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
|
|
||||||
</handlers>
|
|
||||||
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" hostingModel="InProcess">
|
|
||||||
<environmentVariables>
|
|
||||||
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
|
|
||||||
</environmentVariables>
|
|
||||||
</aspNetCore>
|
|
||||||
<security>
|
|
||||||
<authentication>
|
|
||||||
<anonymousAuthentication enabled="true" />
|
|
||||||
<windowsAuthentication enabled="true">
|
|
||||||
<providers>
|
|
||||||
<clear />
|
|
||||||
<add value="NTLM" />
|
|
||||||
<add value="Negotiate" />
|
|
||||||
</providers>
|
|
||||||
</windowsAuthentication>
|
|
||||||
</authentication>
|
|
||||||
</security>
|
|
||||||
</system.webServer>
|
|
||||||
</configuration>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user