LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does the LabView support htaccess/htpasswd security for WebPages?

There is a server with LabView's executable which makes reports on the server folder.

Need to get access to the executable through RemotePanels and to html/txt/xls-reports through the same LabView WebServer.

One solution is to use LabView WebServer + Apache or +GServer (has no advantages over Apache).

But in this case we need to authentificate for 2 times: 1.Apache, 2.LabView WebServer.

G-Server with cgi-scripts is not a solution because of there is a lot of text fields on panels and events (too many) and NI recommends to use LabView embedded WebServer for panels, not a G-Server.

Has anybody a solution?

 

0 Kudos
Message 1 of 6
(3,781 Views)

Please forgive me but I am unclear on what it is you are looking for.  Can you please clarify?


I did a quick search on ni.com for htaccess and found the following two pages.  Have you seen these yet and does this help at all?

 

KnowledgeBase 3FNERTVB:  How to Setup Security for the G Server?

 

KnowledgeBase 4J1DPELC: Can I Enable G Web Server Authentication for My LabVIEW Remote Front Panel?

0 Kudos
Message 2 of 6
(3,756 Views)

I have seen both 2 pages of course. And more I can say that in LV2009 the second example does not work even in LV Development Environment (G-server does not protect html-files). And I have not found any ways to create password hashes like htpasswd.exe in Apache do it dinamically for the first one. I want to get security for remote panels and html-documents thus the user don't have to enter login/pass for 2 times and linked LabView's executable can create password hashes when the user wants to change it.

I'll be appreciative for any help or technique.

 

0 Kudos
Message 3 of 6
(3,741 Views)

For the Apache information, you'll probably have to check with Apache support or forums.  

 

Otherwise you are probably going to just have to use 2 passwords for the 2 different web servers.  Alternately, you can always just use the LabVIEW Webserver without Apache.  Dont know if anyone else out there has any other ideas... 

0 Kudos
Message 4 of 6
(3,711 Views)
But LabView Web Server does not allow html-pages protection so I think this is a question addressed to LabView engeneers.
0 Kudos
Message 5 of 6
(3,701 Views)

I have just realized remote control with one time input password necessity for 2 web-servers: Apache and LabView (embedded).

The way is to analize Apache/htaccess.log from VI.

 

0 Kudos
Message 6 of 6
(3,681 Views)