01-28-2010 02:28 AM
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?
01-29-2010 10:08 AM
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?
01-30-2010 03:38 AM
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.
02-01-2010 05:48 PM
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...
02-02-2010 12:12 AM
02-02-2010 07:22 AM
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.