We have to deliver some source code for asp.net website (.net framework 4) to the customer Before receiving the Payment.
I am wondering if there is some way (by means of some code or tool etc.) that we can expire/invalidate the source code after some set period of time so that the customer will not be able to Build / Compile / Publish the website? And already published one should stop working automatically.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
No. As soon as you give that source code to them they can analyze it and remove your protections. You could obfuscate it to make it harder for them but the only way to truly prevent being ripped off here is to not give them the code. Host it yourself on some server somewhere, show them and say “look; it works.. pay now and receive the code”
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0