Name: BasicAuthLevel
Type: DWORD (32-bit) Value
Value: 2
If you do this, you should make sure the Web-application uses SSL since the Basic Auth password is sent in cleartext.
Note that the possible values you can assign to this new registry entry are:
0 - Basic authentication disabled
1 - Basic authentication enabled for Secure Sockets Layer (SSL) shares only
2 or greater - Basic authentication enabled for SSL shares and for non-SSL shares
The following Windows command can help you to automate the change:
@echo ##############################################
@echo ##### WebDAV Script by Andres Cheah #####
@echo ##############################################
@echo ##### #####
@echo ## ##
@echo # #
@echo off
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters /v BasicAuthLevel /t REG_DWORD /d 0x2
net stop webclient
net start webclient
@echo ###You are ready to map the WebDAV drive!###
pause
Reference:
Enable Basic Auth for WebDAV on Windows 7
http://www.windowsnetworking.com/kbase/WindowsTips/Windows7/AdminTips/Security/EnableBasicAuthforWebDAVonWindows7.html
No comments:
Post a Comment