WebDAV OSX限制上传的权限

我有一个WebDav服务器,我有OSX ML的工作 – 访问是安全的,但我只是将我的文件移动到外部驱动器

  1. 我不需要修改驱动器上的目录权限,它仍然工作,需要密码…它仍然是安全的?

  2. 如何制作不需要密码但不允许上传的别名?

    • 我现在给的访问将允许客人,但也将允许上传?

以下是我对该驱动器的访问权限和权限:

drwxr-xr-x 6 iMac staff 204 Feb 7 09:54 Download drwxr-xr-x 5 iMac staff 170 Feb 5 19:17 STORAGE drwxr-xr-x 5 iMac staff 170 Feb 5 19:14 WebDAV 

 # Distributed authoring and versioning (WebDAV) # # Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias # mod_auth_digest, mod_authn_file # # The following example gives DAV write access to a directory called # "uploads" under the ServerRoot directory. # # The User/Group specified in httpd.conf needs to have write permissions # on the directory where the DavLockDB is placed and on any directory where # "Dav On" is specified. DavLockDB "/usr/var/DavLock" Alias /webdav "/xyz/WebServer/WebDAV" <Directory "/xyz/WebServer/WebDAV"> Dav On Options Indexes MultiViews Order Allow,Deny Allow from all # Add the following line to restrict access to Read or write Require valid-user AuthType Digest AuthName DAV-upload # You can use the htdigest program to create the password database: # htdigest -c "/usr/user.passwd" DAV-upload admin AuthUserFile "/xyz/uxyz.passwd" AuthDigestProvider file # Allow universal read-access, but writes are restricted # to the admin user. <LimitExcept GET OPTIONS> require user admin </LimitExcept> </Directory> Alias /webdav-private "/Volumes/RAID_MIRROR/WebDAV" <Directory "/Volumes/RAID_MIRROR/WebDAV"> Dav On Options Indexes MultiViews Order Allow,Deny Allow from all AuthType Digest AuthName DAV-Public AuthUserFile "/xyz/xyz.passwd" AuthDigestProvider file <LimitExcept GET OPTIONS> #require user public </LimitEx# Distributed authoring and versioning (WebDAV) Alias /download "/Volumes/RAID_MIRROR/Download" <Directory "/Volumes/RAID_MIRROR/Download"> Dav On Options Indexes MultiViews Order Allow,Deny Allow from all </Directory> 

在实际的Web服务器(OSX)(而不是外部驱动器)我使用不同的权限,以允许Apache访问组_www,但外部不需要此限制?

 drwxr-xr-x 2 root wheel 68 Jun 20 2012 CGI-Executables drwxr-xr-x 14 root wheel 476 Jan 20 2013 Documents drwxrwxrwx 29 _www _www 986 Jan 21 12:24 WebDAV drwxrwxrwx 24 _www _www 816 Mar 18 2013 WebDAV-Public