Reputation: 1423
I'm looking for a way to secure my WCF service using http and simple username-password authentication, without using certificates.
The service is consumed by an Android device so I can't use the .NET Proxy generated classes.
I've read about basic HTTP authentication but haven't found an easy way to implement this method.
Upvotes: 2
Views: 990
Reputation: 1423
I've found ASP.NET Web API, seems like a better solution for REST-based Services than WCF.
Upvotes: -1
Reputation: 31651
Have you tried using the MSDN custom Username/Password validator for WCF? It relies on the serviceCredentials
configuration and implementing a UsernamePasswordValidator
.
Upvotes: 0