This article explains a method to secure a REST based service using basic authentication. The service itself is implemented using Microsoft Windows Communication Foundation. The authentication of the credentials should be possible against any type of backend. For example authenticate against an active directory, a custom file or a database. Basic Authentication is standard available in combination with WCF and IIS, but the downsite of this is that authentication is only possible against an active directory.
This article and provided source code can be used in two ways. First, just download the code, go down to the use the code and implement your WCF service using Basic authentication. Second you can use the article to learn what exactly is Basic Authentication and how can WCF REST be extended.
Basic Authentication on a WCF Rest service - CodeProject
No comments:
Post a Comment