locked
Operation Service only RRS feed

  • Question

  • Is it possible to hide the EntitySet access (so without config.SetEntitySetAccessRule) but to be able to access it with operation services (WebGet)?

    Thursday, September 11, 2008 8:21 PM

Answers

  • The only way to do this is to write a query interceptor for the entity set and throw whenever someone queries that entity set. Hence you deny any access via that entity set.

     

    Then you can expose a service operation which can access this. Make sure you set Read permissions for the entity set in the configuration.

     

    Hope this helps.

    Thanks

    Pratik

    Monday, September 15, 2008 4:53 PM
    Moderator