Sample Gallery > Security
Your selection returned: 4 item(s) Search:
 
Sample Name & Description   Filter By:
Alternative Windows Credentials
By default WCF will use the security token on the calling client for authenticating it. However, you can easily supply alternative credentials (usually via some log-on dialog) as shown in the download.

download this sample 
see more details
Windows Communication Foundation Version: February CTP
Last Updated: April 11 2006
Downloads: 44
Views: 206
Rating: Not Rated
Custom Credentials using ASP.NET Providers
WCF lets the client provide custom credentials and have the service authenticate the client by looking up the credentials in the ASP.NET membership data base in SQL Server. Once authenticated, the service can use role-based security to authorize the user against the custom roles in the data base. ...

download this sample 
see more details
Windows Communication Foundation Version: February CTP
Last Updated: April 11 2006
Downloads: 26
Views: 144
Rating: Not Rated
Credentials Manager for WCF
Both Internet and Intranet applications often require a custom store for user accounts and roles. ASP.NET 2.0 provides an out-of-the-box provider model as well as a SQL Sever database just for that propose. Unfortunate, the only way to administer the credentials databases is via Visual Studio 2005, ...

download this sample 
see more details
Windows Communication Foundation Version: February CTP
Last Updated: April 11 2006
Downloads: 36
Views: 252
Rating: Not Rated
WCF Custom Authentication and Impersonation
This is a short sample of how to implement custom authentication and impersonation with WCF. It's based on a custom ServiceCredentials implementation, with a custom UserNameSecurityTokenAuthenticator and ad hoc Identity and Principal.

download this sample 
see more details
Windows Communication Foundation Version: November/January
Last Updated: February 06 2006
Downloads: 253
Views: 1283
Rating: Not Rated