Authentication / Authorization RavenDB IIS

I have a script that should be possible with RavenDB imho, but I cannot find any information that could help me implement this.

I deployed RavenDB as an IIS application for my regular hosting. I do not have a dedicated server, so I have almost all the options. Another option is to create a web application with built-in RavenDB, which, I think, is more complex, and I want everything to be simple. Having RavenDB as an IIS application seems very convenient.

I want some users to be able to log into the RavenDB application and edit documents. Other users (anonymous) can only read data.

I found that the application has 2 additional packages: Raven.Bundles.Authentication.dll Raven.Bundles.Authorization.dll Unfortunately, the documentation for these packages is not complete enough: (

Here is a description of what I was aiming for: http://www.youtube.com/watch?v=bS4UMp12PZM&feature=player_detailpage#t=899s

So the questions are:

  • How to store user information in RavenDB and authenticate information?
  • How can I grant rights to collections of documents for specific users?
  • How can I grant all rights (admin) to a specific user?
+3
source share
1 answer

All Articles