Content Item Permission Module and wcf

Topics: Writing modules
Sep 19, 2012 at 10:06 PM

Recently , I'm working on possibility of  creating a WCF RESTFUL service in orchard project. The service is now created, but the question is if I use "Content Item Permission Module" (sebastien ros ) for my custom content type items , How can I Authorize my WCF service which is representing these custom content type items. In Other words:

1. What is the best way of authorizing in my WCF service in orchard (overriding Authorize attribute , ..etc)

2.How can I Authorize users per content item type , assuming the permissions set through "Content Item Permission Module"




P.S. providing sample codes would be appreciated ...