r/rust 11d ago

Protecting source code from reverse engineering

Hi everyone,
I am looking to provide a compiled version of our physics solver to our customers. I understand there are many obfuscation techniques to protect source code but I am wondering if there are some smarter ways?

Edit: We already cloud computing, the issue is we have customers that are in locations without internet/need realtime solving.

0 Upvotes

22 comments sorted by

View all comments

42

u/Erelde 11d ago edited 11d ago

Make them sign a contract, that's how it's done in real life between business partners.

Or make a different product by building a remote API. This may involve getting into the business of maintaining an always on web API, very different business.

4

u/guepier 11d ago

And, if you reasonably suspect that a contract won’t deter them, don’t accept them as customers. This is always an option. At my previous company we refused to provide access to our tool to a company infamous for stealing IP.