Jump to content

LabVIEW Web Server with API Key and client authentication

Recommended Posts


first of all: I'm new to web server in general (non only labview web server)! Starting from the official examples now I managed to realize very simple web server with two methods and SSL communication enabled; it' only a small test that I'm using to understand the basic, than I will create the fully featured one and implement it in my main application.

I'm stuck with the authentication aspect of the web server. I was able to create a group and a permission, set a specific method to accept communication with this permission (auth with username/pw); but my understanding is that, choosing this type of authentication, only request from Internet Explorer (the only browser that's still supporting Silverlight) or from a LabVIEW client will work. In the final application the request to the LabVIEW Web Server will be performed from a client coded in python.

Now I'm trying to configure a LabVIEW Web Server with API-based authentication. Unfortunately, even a simple LabVIEW client cannot successfully communicate with the server. Here you can find some screenshot of the LabVIEW WS settings, the web-based Configuration and Monitoring, the block diagram of the client and its front panel with the reply from the web server.

The LabVIEW client works fine with the same GET string when the server has no authentication or the username/pw. When I try to use the API key solution the response to the client from the server is 403 - Forbidden.

Any help?

Thank you very much!



Web server - security of the method getDynamicData. "Require API key" selected.


Web server. URL Mapping of the method "getDynamicData"



Web-based Configuration and Monitoring. Web services API key



Block diagram of the LabVIEW client


Front panel of the LabVIEW client


Link to post
Share on other sites
  • 7 months later...

I'm also getting authentication issues to an Apache server. Did you ever resolve this?


For anyone else, this may help:


How Do I Change the Default SSL Certificate That Ships with LabVIEW?


Securing Web Services with SSL


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.