发新话题
打印

IIS启用webdav文件系统

IIS启用webdav文件系统

1、为IIS安装SSL证书,并启用https
   参考:IIS开启https及免费申请域名证书 http://trustcomputing.com.cn/bbs/viewthread.php?tid=1644

2、安装IIS及Windows认证功能
Control panel
Programs and Features
Turn Windows Features on or off
Expand: Internet Information Services => World Wide Web Services => Security
Select "Windows Authentication"

3、创建虚拟目录webdav1,对webdav1做webdav设置
   双击 WebDAV Authoring Rules,右侧点击enable webdav,再点击Add Authoring Rule,添加一个用户,赋予读写权限

4、双击 Authentication,选择Windows Authentication,右侧点击enable

5、双击 Directory Browsing,右侧点击enable

6、在文件管理器的网络处,右键,选择 映射网络驱动器,输入 https://xxx.com/webdav,并输入用户名密码测试,或用Raidrive挂载。或者直接用浏览器打开https://xxx.com/webdav,输入用户名密码后,可以查看、下载目录下的文件列表。上传需要另外配置权限。


参考:
https://docs.microsoft.com/en-us/iis/install/installing-publishing-technologies/installing-and-configuring-webdav-on-iis
https://www.server-world.info/en/note?os=Windows_Server_2019&p=iis&f=9
https://stackoverflow.com/questions/6264878/no-basic-authentication-choice-available-in-iis7

[ 本帖最后由 linda 于 2020-7-24 12:18 编辑 ]

TOP

发新话题