Just finished my first WCF service.
I want to limit the client to get service from my WCF serv开发者_开发百科er - so i want to response just to client that have the right password ( password will send as string in one of the argument field ) or just response to client that have specific ip address.
How can i do it in WCF ?
Thanks for any help.
The "normal" expected behavior would be for the WCF service to:
- return a valid result for those users who are authorized to call that service
- throw a
FaultException
(possibly a typedFaultException<SecurityNegotiationException>
) for those users who are not authorized
精彩评论