vmo;
Yes, no, maybe... The problems you are stating are not unique to LabVIEW. Understanding that, at the end, your software is a bunch of bits, how can you protect those bits? Hardware locks (dongles, etc.) are one of the preferred methods to protect soft code, but still not a problem for the seasoned hacker.
Determining the right protection for your software starts by having a good understanding of threats, assets, policies, etc, that affects your particular application. I strongly recommend you to talk with somebody knowledgeable in performing security assessments. You mean something specific in your phrase "the best way to protect a LabVIEW executable file from hackers". The job of the security analyst is to accurately identify your security needs and t
o suggest adequate safeguards (incorporated at design) or countermeasures (for existing applications).
This may sound expensive, but it pays off quickly. The value of your product (not the price, but the value of your product as an asset to your customers) will increase dramatically. It blows my mind when I see developers making impressive applications but with little or no security at all, putting way too much security so the product becomes unreasonable expensive, or (the worst case) getting a false sense of security because the protection used were not well thought out.
Regards;
Enrique Vargas
www.visecurity.com
www.vartortech.com