Here are my questions:
By default, is the communication between client and server (protocol: TCP) in WCF encrypted?
I need to implement a model, where only an authorized set of clients can use a WCF server. I thought of something along passing an AUTH structure as a param inside each method call. Is this the best method to implement this kind of security, or is there an easier/better way of doing this?
1) No
2) No, that is definitely not the "best" way. It is an easy way, but not a very flexible way, and not the way Microsoft recommends. There are a lot of different ways to secure WCF services, so I cannot write an exhaustive answer, but I suggest that you read up on it yourself. Check this article .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.