I am building a website in asp/c# which I need to deploy to multiple servers which are managed by external people.
I need to avoid the people who have access to the server accessing and reusing our code.
One option that I have heard so far is that I can check the MAC-address inside the code, however, the MAC-address can be changed by the users.
What are the most secure options available to avoid this kind of situation?
The only 100% reliable method is not allowing others access to the actual deployed files.
Since code must work in the first place, a sufficiently motivated cracker will obtain the underlying source no matter what you do.
You can audit your deploy folders so you have an access log: you won't prevent any interaction, but you'll at least know who got what... Better than nothing.
You have several options, but as commented by many... maybe they are not worth.
The only reliable one is:
Option that gives you the most cotrol: don't deploy one external servers managed by external people.
Everything else will have less options to protect your code and you just need to decide at wich point price is ok to pay.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With