Authentication on odata service

Posted by Toad on Stack Overflow See other posts from Stack Overflow or by Toad
Published on 2010-06-13T05:29:41Z Indexed on 2010/06/13 5:32 UTC
Read the original article Hit count: 468

I want to add some authentication to my odata service. Depending on the user calling i want to: filter rows and/or remove columns.

I read in scott hanselmans fine blogpost on odata ( http://www.hanselman.com/blog/CreatingAnODataAPIForStackOverflowIncludingXMLAndJSONIn30Minutes.aspx )that it is possible to intercept the incoming queries. If this works i could add some extra filtering.

How would this intercepting and altering queries work exactly? I can not find any examples of where and how to do this.

(i'm using entitie framework and wcf dataservices (just like scotts example blog)

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wcf