Meena Vyas

All | DTrace Web Server 7.0 | ACLs Web Server 7.0 | General Web Server 7.0 | HttpCompression Web Server 7.0 | Intrusion Detection Web Server 7.0 | Open Web Server | Reference Deployments of Web Server 7.0 | Reverse Proxy Web Server 7.0 | Security Web Server 7.0 | Troubleshooting Web Server 7.0 | WebDAV Web Server 7.0
« Configuring WebDAV... | Main | Dynamic compression... »
20060516 Tuesday May 16, 2006

New Feature WebDAV Access Control Protocol In Sun Java System Web Server 7.0


New Feature WebDAV Access Control Protocol In Sun Java System Web Server 7.0

 There's a whole bunch of new stuff in Sun Java System Web Server 7.0, and you can download it for free from http://www.sun.com/download/index.jsp?cat=Web%20%26%20Proxy%20Servers&tab=3&subcat=Web%20Servers .

Remote Content Manipulation And Remote Access Control

Whenever I create website for myself for personal use or when I need to use a website that is common to our group with more than one member modifying the content, I always want to
More than that, I also want to

WebDAV and WebDAV Access Control Protocol support in Sun Java System Web Server 7

Check this out, we have implemented ALL this Sun Java System Web Server 7. It was an experience reading RFC and implementing it. What I found the toughest part was reusing the existing infrastructure with bare minimum changes to the core and yet meeting the deadlines !!

Sun Java System Web Server 7 now
Assuming I am a user alpha (and I have DAV:write-acl privileges on this file). I want to allows all users in group foo, read privileges, and user alpha all privileges on a file I created, all I have to do is send an ACL request through a WebDAV client or telnet as follows
ACL /col1/myfile.html HTTP/1.1
Host: test.sun.com
Content-type: text/xml; charset="utf-8"
Content-Length: xxx
Authorization: xxx

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
  <D:acl>
    <D:ace>
      <D:principal>
          <D:href>http://test.sun.com/magnus-internal/my-ldap-auth-db/groups/foo</D:href>
      </D:principal>
      <D:grant>
        <D:privilege><D:read/></D:privilege>
      </D:grant>
    </D:ace>
    <D:ace>
      <D:principal>
          <D:href>http://
test.sun.com/magnus-internal/my-ldap-auth-db/users/alpha</D:href>
      </D:principal>
      <D:grant>
        <D:privilege><D:all/></D:privilege>
      </D:grant>
    </D:ace>

  </D:acl>
</D:multistatus>

Explore WebDAV and WebDAV Access Control features and let us know,

Posted by meena ( May 16 2006, 11:22:27 PM IST ) Permalink Comments [3]

Trackback URL: http://blogs.sun.com/meena/entry/new_feature_webdav_access_control
Comments:

The ability to import windows file permissions to a WebDAV server would be nice.

Does anyone know of a project to convert NTFS SACL and DACL to the RFC 3744 format?

There is this tool to export (and import) NTFS ACL to a usable format:
http://setacl.sourceforge.net/

Anyone heard of a project to convert this format to the WebDAV ACL format?

Posted by Thomas Belote on October 14, 2006 at 04:17 AM IST #

Does this mean that Webserver 7 could be used as a front end to the source repository product subversion similar to apache?

Posted by Doug Thompson on January 15, 2009 at 04:05 AM IST #

We have not implemented versioning extensions RFC http://webdav.org/specs/rfc3253.html yet in Web Server 7.0 (update 4). But you can always forward CHECKIN, CHECKOUT, UPDATE etc. functions to other servers supporting it. For more information about this write to http://forums.sun.com/forum.jspa?forumID=759

Posted by Meena on January 15, 2009 at 02:29 PM IST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed

This blog copyright 2009 by meena

Calendar

Search

RSS Feeds

Navigation

Referers