Limit access to user directories? #26

Open
tarangill opened this Issue Dec 5, 2011 · 2 comments

Comments

Projects
None yet
3 participants

Is there a way to limit each user's access to their own directory?

Look at these files https://github.com/mikedeboer/jsDAV/tree/master/lib/DAV/plugins/auth

I haven't gotten that far yet but I want to say that there is a method called to authenticate every action before it is performed. You will most likely need to fork jsDAV and create another "auth plugin". You can then add the git path as a dependency in your apps package.json file.

Just ran into this same issue.

I got the basic auth working, but now how do I get the current user from file/directory node so I can filter out the directory/file listings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment