LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Web page control time and log in

Dear Sir:

I have some issues about the web publish tools. I already use the web publish tools for remote access into the server vi front panel successfully. And I also know that I can limit the user who has the authority to access into this web page by setting up the browser access list. In this way, however, only computer IP address can be applied to limit the access user. I also would like to apply the log in method, like user name and password to limit user's authority. Is there any way to set up the user name and password to manage who has the authority to access the webpage? Therefore, my question is how to manage different people to access into the same published webpage by web publish tool with their user name and password.

Best Regards.

Fred
0 Kudos
Message 1 of 4
(2,985 Views)
Hi Fred,

One option is that you can programmatically password protect the VI itself. Or you can use an add-on LabVIEW Internet Toolkit which gives you an ability to accomplish what you are trying to do.

Please refer to this KnowledgeBase, which addresses the question in more detail and provides examples:
http://digital.ni.com/public.nsf/websearch/427FE409FB11575686256DFF0008BBE4?OpenDocument

Hope this helps and best of luck!
Shakhina P.
Applications Engineer
National Instruments
Message 2 of 4
(2,974 Views)
Hi, shahina:

Thanks for your response. The link really helps me a lot. After I try the method in the link, I have another issue. I know that I can set up the access list of IP address about the web server browser through program, however, in this way, the added in IP address would be allowed to both control and view the front panel. I just would like the allow people to view the front panel, but can not control them. This can be done in the tool>>option>>web server: browser access function manually. Therefore, my question is how to add in IP address with only allow viewing authority in the labview program? Thanks.

Best Regards.

Fred.
0 Kudos
Message 3 of 4
(2,957 Views)
Hi Fred,

Here is a link to a document that explains how to do that programmatically:
How can I Programmatically "Allow Viewing and Controlling" of a Remote Panel VI?

The syntax of the array for allowing viewing and controlling VIs is given in the context help:

  • c+ specifies that the address has access to view and control a VI remotely.

  • + specifies that the address has access to view a VI remotely.

  • - specifies that the address does not have access to the Web Server.


Let me know if you have more questions regarding this.
Good luck!
Shakhina
Message 4 of 4
(2,937 Views)