Jump to content

Deny access to libraries and videos via direct urls


johannes

Recommended Posts

johannes

I have created multiple libraries targeted for different set of users.

I have granted access to one or more libraries for a given user, and no access to other libraries.

 

The libraries where the user has no access, are not available from his dashboard, however, a direct link to the library or a movie within the library, will allow the user access. Is this somehow possible to prevent?

 

Regards

Johannes

Link to comment
Share on other sites

Not at this time but it's something that needs review in the future, thanks. We allow this so that a user with greater permissions could remote control to a session where a restricted user is currently logged in. It's something we can improve in the future though. Thanks.

Link to comment
Share on other sites

  • 1 month later...
johannes

Not at this time but it's something that needs review in the future, thanks. We allow this so that a user with greater permissions could remote control to a session where a restricted user is currently logged in. It's something we can improve in the future though. Thanks.

 

Would it be possible to add more extension points to the server, so I could implement this as a custom plugin? It seems like MediaBrowser.Common and MediaBrowser.Server.Core is not open sourced, otherwise I could try to make a PR for it. I would like to be able to hook into the pipeline after a library has been prepared, and further filter the results before returned to the browser based on the logged in user. I would also like to hook into the pipeline just before a media is about to be streamed, so that I could verify access.

Link to comment
Share on other sites

It's not that simple. It would break the ability for an admin user to play content to another device when a lesser user is logged in. So we have to figure out how to close the loop while still preserving that. That's why it is still waiting. Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...