LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disable VI server in EXE

Solved!
Go to solution
Highlighted

Hi All,

 

Is there a way to permanently disable VI server in EXE? Currently, I have an EXE built using application builder and in the ini I can set the VI server to TRUE and the assign the port number to listen on. This poses a great security threat to my application as anyone using my app can enable VI server and basically hack it using property/invoke nodes - like assign values to controls or retrieve indicator's values.

 

 

Ritesh

0 Kudos
Message 1 of 8
(1,226 Views)
Highlighted
So, you are worried about someone that can do the same things as an operator?
0 Kudos
Message 2 of 8
(1,212 Views)
Highlighted

Yes, I am worried someone with good LabVIEW knowledge could use these techniques to hack my application.

0 Kudos
Message 3 of 8
(1,187 Views)
Highlighted
How would that be hacking your application? Your code is still hidden. Your allocation can be manually controlled and read. How is that less of a hack?
0 Kudos
Message 4 of 8
(1,174 Views)
Highlighted

@Dennis_Knutson wrote:
How would that be hacking your application? Your code is still hidden. Your allocation can be manually controlled and read. How is that less of a hack?

I have few global vairbales in my application which stores the information whether the app is in demo mode or in full featured mode. If the user can somehow get to know where those globals are stored in the EXE and the usage of those globals and set their value using VI server then he/she can easily convert a demo app into full featured app.

0 Kudos
Message 5 of 8
(1,167 Views)
Highlighted

That's why you should use the Third-Party Licensing and Activation Toolkit

 

Don't do your own scheme!


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 6 of 8
(1,163 Views)
Highlighted

@altenbach wrote:

That's why you should use the Third-Party Licensing and Activation Toolkit

 

Don't do your own scheme!


Does it mean that the bottom line is VI Server can not be disabled in EXE?

0 Kudos
Message 7 of 8
(1,158 Views)
Highlighted
Solution
Accepted by LVCoder
It means that if you want something robust, use the appropriate tool. I'm not convinced that you can get to a shared variable with VI Server but if you've tried and done it, change your protection scheme.
0 Kudos
Message 8 of 8
(1,153 Views)