How can one restrict access to data in WebAPI OData?
Lets say I have a Youtube Channel that has videos. Some videos are private, some are restricted to specific users and some are public. How might one go about to ensure that only the allowed users get the data?
Especially when one wants to restrict access to navigation properties and such.
I might have misunderstood some basic principles of OData.
Basically I'm looking for some proven pattern to restrict access to specific data to specific roles and users, and serializing data.