Behavior Security

This section includes samples that demonstrate configuring security for service behaviors.

In This Section

Service Auditing Behavior
This sample demonstrates how to use the ServiceSecurityAuditBehavior to enable auditing of security events during service operations.

Membership and Role Provider
This sample demonstrates how a service can use the ASP.NET membership and role providers to authenticate and authorize clients.

Authorizing Access to Service Operations
This sample demonstrates how to use the <serviceAuthorization> to enable use of the PrincipalPermissionAttribute attribute to authorize access to service operations.

Impersonating the Client
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.