Meena Vyas

All | WebServer7.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

The Sun Java System Web Server 7.0 Technology Preview was released today! There's a whole bunch of new stuff in 7.0, and you can use it free of charge.

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 [1]

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 #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed

Calendar

Search

Links

RSS Feeds

Navigation

Referers