This section includes samples that demonstrate configuring security for service behaviors.
This sample demonstrates how to use the ServiceSecurityAuditBehavior to enable auditing of security events during service operations.
This sample demonstrates how a service can use the ASP.NET membership and role providers to authenticate and authorize clients.
This sample demonstrates how to use the <serviceAuthorization> element to enable use of the PrincipalPermissionAttribute attribute to authorize access to service operations.
This sample demonstrates how to impersonate the caller application at the service so that the service can access system resources on behalf of the caller.