WCF Security Transport Security Questions -
I am writing a set of WCF services that rely on transport security with Windows authentication using the trusted security mechanism . However, I want to execute the authorization on the basis of the original client user who started the request (user by user / password with user) The client sends the message and after that I am planning to get it by adding the original user's credentials to the title before using the credentials supplied to authorize the service user. Therefore, I have a few questions about this implementation:
1) Using Transportation Security with Windows Ath, I need to worry about encrypting passed passwords again to ensure validity. No ... WCF automatically takes care of this - is that right?
2) How this implementation prevents a malicious service, which is running under some windows account within the domain, which is to send messages tagged with spoofed credentials. For example, a malicious service to replace some credentials with an administrator to do something bad?
Thanks for any help.
What are you binding? Is this service just within your corporate LAN, or are you planning to go outside the firewall?
To answer your question (as far as I can)
1) Transportation protection with Windows certification, the transport level will be encrypted and secure - additional encryption of credentials etc. There is no need to worry about.
2) It can not happen. If a malicious service introduces some valid Windows credentials as "hijacking" and "John Doe" which is an account on your corporate network, then there is no way the WCF service can separate it from a valid request by John Doe. is.
Comments
Post a Comment