Search code examples
asp.netweb-servicesasmx

How to give access to service methods to different clients


I am new to asp.net web services. I am creating a sample web service(.ASMX) with ten methods and one interface. I have two clients A and B, I want to expose the first four methods to client A and next 6 methods to client B.

Please tell me how to give permission for those methods to corresponding clients.


Solution

  • I would recommend that you begin with this article: http://msdn.microsoft.com/en-us/magazine/cc948343.aspx

    In this you can find "Authorization within WCF services".