We are selling a web application to a client, and it includes some 3rd party components. These components require licensing keys to work, which we have stored in the web.config. As we are not selling the source code or the license we need to encrypt that value somehow.
No I know that you can use aspnet_regiis to encrypt section of the web.config, but my understanding is that this done on the host machine and uses the unique machine ID to do the encrypting. That means I can only do the encrypting after the client deploys the web app.
Since, we have no control over the deployment part we need to encrypt this value beforehand. In essence, we need it encrypted when we hand over the app to the client.
Any ideas?