I have a .NET 4.0 project with two modules that will communicate via WCF services and I'd like to implement a custom encryption mechanism.
My scenario:
I control both endpoints (client and server) but not the connection between them
Windows auth is out of question, since I do not know at this point where the modules will be deployed and most likely they'll be on different domains
I'd like to intercept the messages at some point and apply a custom encryption/decryption with a key that will be properly configured on both the server and the client, so if someone manages to intercept a message they wouldn't be able to decrypt it.
I'd like to exchange data using binary serialization
I don't want to deal with setting up certificates on either the client or server side
Can anyone point out what would be the most obvious solution to implement this scenario using WCF?