Remote panel and selective control access through Security with DSC

Hi Everyone,
I looked around to see what labview had to offer concerning security of remote panel and all the solutions I've found only propose full access to a remote panel, or none. The login page is not an option for me as everyone on the intranet can access the remote panel for monitoring but not everyone can have control to the buttons on it.
With the DSC module, I can give securities to the different controls and it works great with the exe, if I log in or out, the controls appears or disapears. Unfortunately, with remote panels, those controls are always visibles. Furthermore, when I log in from a remote panel, all the other remote panels get logged in with the same username and priviledges. When I log out, same thing, it logs out all the other remote panels. So the last guy who logs in gives its priviledges to every one else who is monitoring the remote panel at that time. when he logs out, he logs everyone out. I used a reentrant vi hoping that this would solve the problem but it didnt.
I would like to do what my colleague does with Advantech without any problem. He has only 1 .exe is running on the server and whoever connects to it through webserver, just needs to log in and he has all the priviledges of an guest, operator, admin, etc.. with access to controls and features accordingly. All this without interfering with the other people using the remote panels. This colleague has always been doubtful about the capabilities of labview to do SCADA systems and uptil now, I've been able to prove him wrong.. please help me continue
There are workarounds, using remote desktop to the server instead of webserver but it definitely is not as practical for the client and it will need quite some work to to synchronise all the exes open from the differents sessions, through the use of shared variables, binding and securities.
Thank you for your help.
Solved!
Go to Solution.

Thank you very much for your reply Jordan.
The NI security info is on the server (local domain with groups and users), and the running exes as well. The remote panel is not supposed to be accessed by internet, at least not yet, but just by the computers on the network and thinkline computers who are directly connected to the servers. the remote panel is accessed through the simple url: http://serverip/Application.html
There is no problem with accessing the remote panel of the exes on the server from another computer on the network. But there are several security issues when logging in and out with the NI Security Programmatic Login and logout VIs through the remote panel..
The 1st problem occurs when several people access the remote panel at the same time. In my setup, everyone is allowed to check what's happening on the front panel of the running exe, go through the tabs, check the graphs, the tables, etc.. , but only the administrators and the operators can send commands to the machines and the production line through this remote panel. Hence some buttons are accessible to all users, while others are only accessible depending  on the privileges of the person logged in.
So like I said in the 1st post, I configured some buttons to be accessible only by the users of the admin group. When the exe runs, it's perfect, if I log in and out with an admin account, the buttons appears and disappear accordingly. But when I check the remote panel, those admin buttons are always visible, even if I am logged in as a guest or even logged out. Is it because the remote panel only needs minimum runtime engine and doesnt use the dsc runtime engine? if so, any work around?
Furthermore, another big problem is that if I login as an admin in one remote panel, then login as an guest in another remote panel, and then logout back from the first remote panel, it says: "User Domain/Guest logged out". Hence, my second login logged out my first user. I can actually see the admin buttons appearing and disappearing on the exe when login as admin and guest from the different remote panels.
So that's it, I would like my remote panel to behave like a normal scada system, with one exe running in the back (on the server) and with all the users accessing it through web server. Several users might/will access the remote panel at the same time and each of the users have a login/password that grant some of them the privileges to take some actions while giving the others only monitoring rights.
I hope that I have been more clear in this 2nd post,
Thank you again for your time.
Best Regards,
Tom.

Similar Messages

  • Remote Panel and DSC interfering?

    Hi, I wonder if DSC or OPC is interfering to view my remote panel in a executable, since I installed them and now I cannot see my web page. I mean the instructions says close Labview to gain acces with the executable, does DSC or the shared variabel Server or something is interfering?
    What happened:
    I have a program which monitors temperature for rooms with fruit, We acquire the temps through modbus RTU, and We see that info through internet.
    First I did it with the modbus libraries, and It worked, We had the web page working through remote panels and the web publishing tool.
    But now I saw the DSC toolkit for Labview, and excited about that I migrated the whole functionality to the IO servers, and until the very end, when everything else works ok, the web page or remote server doesn't works, works with the VI but not with the EXE.
    The first time I followed this, and I did this time again with not succes
    http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1
    Currently state:
    My Web server is started and works in development, I made a webpage named TRY.html, and it works in Labview with the VI.
    I know that the plugin doesn't works on chrome, but just to let you see that the problem is not IEXPLORER, whetn the web page is static it works on chrome too.
    With IEXPLORER (right) it works in chrome (left)  it doesn't
    Working on IExplorer
    So I followed the steps from the instructions, added the web page to my project, added to the build, and built
    Then I modified my NIconfigserver file, and CLOSED labview entirely, the tutorial says so, I closed at least as much as I used to do before.
    My ni config
    # Web server configuration file.
    # Generated by LabVIEW 14.0
    # 13/06/2015 11:44:16 p. m.
    # Global Directives
    NI.AddLVRouteVars
    ErrorLog "$LVSERVER_ROOT/logs/error.log", level=2, anew
    TypesConfig "$LVSERVER_ROOT/mime.types"
    LimitWorkers 10
    LoadModulePath "$LVSERVER_ROOT/..;$LVSERVER_ROOT/modules;$LVSERVER_ROOT/LVModules"
    LoadModule LVAuth lvauthmodule
    LoadModule LVSnapshot lvsnapshotmodule
    LoadModule LVRFP lvrfpmodule
    Listen 8000
    # Directives that apply to the default server
    NI.ServerName LabVIEW
    DocumentRoot "C:/SMC/data"
    InactivityTimeout 60
    SetConnector netConnector
    AddHandler LVAuth
    AddHandler LVSnapshot snap
    AddHandler LVRFP
    AddHandler LVSnapshot
    AddHandler fileHandler ""
    AddOutputFilter chunkFilter
    DirectoryIndex index.html
    My ini
    [SMC]
    server.app.propertiesEnabled=True
    server.ole.enabled=True
    server.tcp.paranoid=True
    server.tcp.serviceName="My Computer/VI Server"
    server.vi.callsEnabled=True
    server.vi.propertiesEnabled=True
    WebServer.Enabled=True
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    DebugServerEnabled=False
    DebugServerWaitOnLaunch=False
    saveFloaterLocations=True
    find.viListFlags=0
    LastErrorListSize=0,0,0,0
    paletteStyle="NamedIcons"
    And so, I open my EXE, then reload the webpages, and I can see that the web server is started, because it shows the html, but I cannot link to my EXE. It says that can't find my VI
    Requested VI is not loaded into memory on the server computer
    If I close the EXE the server stops
    Remote Panel connection refused by specific server, Make sure Labview Web server is enabled
    And that's my history
    It's always hard for me to get the web page working, but this time I've spent hours without success
    I did the test in my development pc and in the target PC and is the same, on these PC's the webpage was working before using DSC.
    So any help will be appreciated
    My best regards

    The DSC Runtime Engine will be sufficient for the deploying the project to a new computer. The Run Time Engine is equivalent to the DSC Module, but you can't do any programming with it. You will need to purchase a separate license for the Runtime license for each deployment computer also. 
    What is the DSC Run-Time System and When Should I Use It?
    http://digital.ni.com/public.nsf/allkb/E56DB8726DB68F288625770E00594351
    Thanks,
    Frank
    Application Engineer
    National Instruments

  • Remote Panel and Internet Explorer

    Hello. I have a problem with a Remote Panel and Internet Explorer. I create a measurement system in LabVIEW. It�s composed of a main front panel and a few subVIs with independent front panels opened from main Front Panel when I press appropriate button. As a local system everything works ok but I try to create a web version of this system. I decide that I can use a Remote Panel. In Web Publishing Tool I was creating a web page for each of Front Panel. I try to have the same functionality as in local system, so when in Front Panel (opened in Internet Explorer window) I press appropriate button I want to open secondary Internet Explorer window with a subVI inside. And now I�m stuck because I can�t open this secondary window in a network w
    orkstation. Has anyone have an idea how can I do it?

    > Hello. I have a problem with a Remote Panel and Internet Explorer. I
    > create a measurement system in LabVIEW. It?s composed of a main front
    > panel and a few subVIs with independent front panels opened from main
    > Front Panel when I press appropriate button.
    I think you have two options. You can open most modal subVI panels
    directly on a remote machine. The popup panels won't be in a web page,
    but it will work with few changes.
    A second approach would be to change the app slightly. The buttons that
    launch the subVIs will turn into URL links. The links will open a web
    page with a different embedded panel.
    Greg McKaskle

  • I uninstalled Norton 360 under windows xp and now I'm getting this problem that firefox will no longer load pages. IE and Outlook still work and I can access the internet with them, I can ping any website I like successfully but Firefox won't load any pa

    I uninstalled Norton 360 under windows xp and now I'm getting this problem that firefox will no longer load pages. IE and Outlook still work and I can access the internet with them, I can ping any website I like successfully but Firefox won't load any pages ... N
    == This happened ==
    Every time Firefox opened
    == I uninstalled Norton 360 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Media Center PC 4.0; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    I found a fix for this, not only firefox but several other networking programs were broken as well (Outlook and IE were ok for some reason) so I reasoned that the Norton uninstall was incomplete somehow - I had done it from the add/remove programs in the control panel. Sure enough that's not enough to release Norton's tentacles in your system, there's an uninstall tool on their website (a whole set of them actually) that managed to carve it out completely and after a restart everything was back to normal. My machines will definitely be Norton-free from now on ... N

  • My browser and email setup is missing and i cant access my balances with any character like"#*"

    can anyone help me plz my browser and email setup is missing and i cant access my balances with any character like"#*" thanks in advance.

    Hi and Welcome to the Community!!
    For the Browser and Email setup, I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive to your Messages app
    2) Resend Service Books
    KB05000Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphone
    If you have no CMIME entry, then skip the deletion
    KB02830 Send the service books for the BlackBerry Internet Service
    Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
    3) Batt Pull Reboot
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    For the # character, are you saying you cannot type that character at any time? Or that you cannot access whatever dialing strings your carrier provides for balances and such?
    In any event, if the above does not work for the Browser and Email, then you must contact your mobile service provider to ensure you are subscribed to, from them, an adequate data plan to enable the services you desire. When you do, you can ask them also about the # key problem.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Have not used Itunes in a while and I cant access Itunes Store with out downloaded new version but I keep getting error message with download. Can I just access the Istore without downloading new version?

    Have not used Itunes in a while and I cant access Itunes Store with out downloaded new version but I keep getting error message with download. Can I just access the Istore without downloading new version?

    downloaded new version but I keep getting error message with download.
    What does the error message say, andrea? (Precise text, please.)

  • Just purchased Adobe Acrobat XI, when i download it and select run a tab appears with title 'Confirm Upgrade of Acrobat Pro' i select continue, another tab apears stating 'Error Encountered' - Acrobat installer encountered and unexpected failure. Please t

    Just purchased Adobe Acrobat XI, when i download it and select run a tab appears with title 'Confirm Upgrade of Acrobat Pro' i select continue, another tab apears stating 'Error Encountered' - Acrobat installer encountered and unexpected failure. Please try again. If it continues to fail contact adobe support. Please assist me asap, i need this working ASAP as i specially purchased for immediate use.. thanks:)

    No, there was no option for enter the serial number, which i gather u mean by S/N?

  • I cannot retrieve the password for the wifi connection on my imac and so cannot access the internet with my ipad at home.  I have a cable modem. Help please!

    I cannot retrieve the password for the wifi connection on my imac and so cannot access the internet with my ipad at home.  I have a cable modem. Help please!

    If you mean that you cannot remember the password for your WiFi network this will work for you - or it should work if you are the administrator on the Mac.
    You will need to be logged in as the administrator on your Mac and you must know the password - Open Keychain Access on your Mac in the utilities folder, click on Passwords. Find the Airport Network Password listed on the right. Double click on it. Click on show password in the the window that pops up. Enter your administrator password when prompted and click allow.
    If Keychain is locked - you must enter the administrator password there as well to unlock it and access the password.
    If you have set the Mac up for Internet Sharing for the iPad to share the Mac's connection, just create a new network On the Mac with Internet sharing and a new password.

  • Remote Panel and DataSocket

    In LabVIEW6.1,there is "Remote Panel"feature.And in http://digital.ni.com/demo.nsf/websearch/3DF73584759FF60986256ABD005BB446?OpenDocument&node=1381_US, there is a demonstration named "Weather Station".In LAN,I can control the VI from another host.But how can I control a VI from a host of different LAN or by Internet.For example ,can I bulid a remote panel which you can control from your own computer?
    Thanks.

    LabVIEW ships with a web server that is used to host your own applications. In LabVIEW 6.1 you find the tools to help you embed your own VI in a web page. These tools are found under Tools >> Web Publishing Tool and Tools >> Options >> Web Server. Most corporate networks have a firewall that you will have to deal with. In order for everybody inside or outside the firewall to access your remote panel, you will have to open a port through the firewall. Also, anyone that wants to view a remote panel will have to have either the LabVIEW Run-Time engine or full developments system installed.

  • Can you use LV6.1 Remote Panel AND CGI?

    I would like to use both CGI and the Remote Panel system of LabView 6.1. I'd perfer to be able to implement the CGI in either Perl or LabView, but anything would work. What I'm trying to do is have a front end that is mainly all CGI, and only after certain conditions things have occured in the CGI would they be allowed access to the Remote Panel. This could be pretty easily done by having the CGI write the HTML file for the Remote Panel. I would do it all using Remote Panel, but the I only have 1 license, and I only really want 1 person to be able to use the Remote Panel at a time, but I want multiple people to have access to the CGI at any given time. Any ideas would be more helpful.

    I'm working on a similar issue with controlling connections to my remote panels. Correct me if I'm wrong, but I think the above solution has some loopholes also. Since the CGI script is generating a new HTML and actually writing it to disk, wouldn't anyone else also be able to connect to this newly page if they new the URL?
    For instace:
    1) A person logs in from the CGI page.
    2) The CGI script builds the remote panel page.
    3) At any time thereafter, someone knowing the name of the new webpage can connect to it.
    Now this problem could be solved if the newly generated page could be sent directly to the person who has logged in if session variables were used within a single web server. However, since two separate web servers are being
    used, this is probably not possible.
    If anyone has a solution to this new problem or can refute what I've just said, please let me know. I have been running over how to do use a login system repeatedly without success. I really don't want to default back to using IP addresses to block access since my users will be 1) spread across multiple IP ranges and 2) more than likely unable to provide their own IP addresses if requested.
    Thanks,
    Pete

  • Labview Remote Panel and Client Aspect Ratio

    Dear all professionals,
    I had create an application with remote panel (webserver) enabled. I found that there is relationship between aspect ratio of client device display and the remote panel screen size. Here i attached two images of remote panel in browser which both remote panel are opened using different aspect ratio of client device. 
    The left 1 is the device with 1.5 aspect ratio while the right 1 is the device with 1.78 aspect ratio. 
    As you can seen from the images, both remote panel are shown in different size. May i ask do i miss something in the remote panel configuration? 

    Hi Michel,
    Thank you for your reply. I also notice that the zoom % of browser is one of the issue that caused this behaviour. In the same aspect ratio with server computer( where the application running), changing zoom to 100% will help to fit remote panel that I already set when I developing the remote panel vi. But if for different aspect ratio, no matter how u change the zoom % , it won't fit the frame. I just wondering whether got another solution for this issue or not :-(

  • How to separate "Key down" event from panel and numerical control

    Hi, All
    I have a vi proecess key down events for panel and  a numerical control in this panel. the application will do: 
    1. when panel is focused, user can use "up" and "down" key to driver some hardware.
    2. when the numerical control has the focus, "up" and "down" key will change it's value as usual.
    somehow the second one did not work, because the panel "key down" event was trigger as well when I use "up' "down" key inise the numerical control. 
    then I used "Key down?" of numerical control to block the "up/down" key. But the first time when I run the Vi, the panel still got triggered one time. 
    any suggestions on this? test code attached  in this post too. 
    thanks
    CQ
    Solved!
    Go to Solution.
    Attachments:
    KeyDown_Up_valuechange.vi ‏16 KB

    This works for me in 2014.  In short, you just need to check to see if your numeric has the focus.  If it doesn't, then you process the key value.  No need for any other event here except for the stop button.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    KeyDown_Up_valuechange_BD.png ‏32 KB

  • Controls access through program not proper

    VIs developed in LabVIEW 6i has button controls whose T/F boolean values are controlled through program and the control is used as a button as well. When the same VI is run after installing DSC this button control values cannot be changed through the program.

    Hi,
    Can you please attach a sample VI which exhibits this problem?
    Thanks,
    Khalid

  • Remote Panels and LabVIEW 2009

    Hello,
    I have updated my real-time PXI application to LabVIEW 2009 (Pro)  and I'm now trying to connect to it with remote planels.  I can only have one remote panel opened.  The second one gives me the "Remote Panels connection exceeds maximum numbers of licences"  The problem wasn't occuring in LabVIEW 8.5 and I have the remote panel license (unlimited) is actived in the license manager.
    How this can be resolved?
    Regards,
    Patrick
    Solved!
    Go to Solution.

    Have you transfered the license files to the controller since the switch to 2009?  There should be a .lic file under ni-rt>>system>>shared>>licenses on the controller.  Is that present on your system?
    Justin Parker
    National Instruments
    Product Support Engineer

  • Want to use parental controls to prevent myself from being able to be on certain websites, but i can't do so on my account because i'm the administrator and parental controls don't work with the administrator. How can i do this?

    go on certain websites, but i can't use parental controls on my account because i'm the administrator. How do i prevent access to websites?

    Thanks for the reply, BUT --- i can't fool myself. I can make all the other accounts i want, but i'll still be able to get into the admin account and therefore have access to the websites i don't want to have access to. Is there a way to block websites from ALL accounts?

Maybe you are looking for