4 ms·
so you're shipping the code with the product or is the code the product (website/app)?
by trin_ 17y ago
so you're shipping the code with the product or is the code the product (website/app)?
- randrews 17y agoYeah, the code is the product, it's a program to do physical simulations of a certain industrial process (actually more interesting than it sounds!)
- trin_ 17y agoand why dont you just ship compiled versions and add some sort of licencing into your program? or does the contract state that you have to give the sourcecode along with the programm (that would make it "some software you built on contract for a company" and not "your product"!)?
- randrews 17y agoThe main problem is that we want to do time-based licensing, so they can only use the product for a month or whatever before buying a new license. Anything we do in the program to check that license, they'll be able to edit the program to remove.
- ig1 17y agoJust include an audit clause in the contract which allows you to audit them for licence compliance. Add a comment in the code around the check which says "If you report your employer for illegally using our software we will give you a $10,000 reward anonymously".
- randrews 17y agoThat's actually a pretty good idea. :-)
- hga 17y agoThis issue has been addressed for compiled code (don't know anything about IronRuby, though). There are a bunch of tricks, like frequently checking the dongle, decrypting code before using it, etc. And for a time-based license you'll need a dongle with a clock in it to prevent the simple workaround of setting the clock (and general system state, etc.) back in time.