Author: ssboyz | Posted on: 11/25/2008 8:26:16 PM | Views : 1179

Hi,I'm new to WCF and quite confused with the various authorization setup in WCF.It would be great if you could help me with the following queries I have.1. Is there a way to set the authorization on the class level? How about application level?    Here is how I did in the  method level.    [PrincipalPermission(SecurityAction.Demand, Name="TestUser")]    public string GetValue() { return "test"; }2.
Further to above, is there a way to set the users easily on different
environment? For example, "TestUser" is authorized only at the test
environment and "LiveUser" is authorized only at the live environment.Thanks,ssboyz ...

Go to the complete details ...