11-30-2011 12:12 PM
Hi there.
I'm developing an application that has to run on a server machine, which Front Panel has to be accessed via web from different client machines. I want the clients to have limited access to the complete functionality provided by the application installed on the server side. I mean, there are controls on the Front Panel that allow to define a new project and its associated variables, and even control the application behaviour. On the other side, there are controls that show graphs, data, lists... of past and current measures made by the devices defined in the project. I want the clients to have access only to these controls, so they could have a monitoring role, preventing them to manipulate controls that affect the application configuration and behaviour.
Is there any way to limit Front Panel controls functionality depending on which client is accessing?
I'm using LabView 2010.
Thanks in advance,
Francisco
12-01-2011 01:45 AM
Hi Francisco!
It depends on what you want to use to identify each user.
I recommend you the RemotePanelMethods-Server.vi in the Example Finder. If you want to limit priviliges depending on the client IP, you could get it from here.
If you just want to do it with a password, you could do something in the VI on the server like what I have done in the example I attach. In it, you have access to all the controls only if you enter the correct password and user, and if you enter as an operator, there are some controls that are disabled.
Tell me if this is what you were looking for, or if I could help you with something else.
Regards!
12-01-2011 01:48 AM
Here you have it for LV 2010... sorry!