Parent Topic: Hosting Web Services
You can use HTTPS and privilege-based authorization to establish secure communication between Web clients and LabVIEW Web services.
Note In this topic, you configure the security settings for the NI Web Server. If you use the Application Web Server to host Web services, refer to Configuring Web Services Security when Using the Application Web Server for detailed instructions. |
Complete the following procedures to establish the different methods of Web services security:
You can enable Secure Sockets Layer (SSL) encryption on the NI Web Server for Web services. Use SSL encryption to create secure, encrypted connections when sending data between clients and the web server.
Complete the following steps to enable HTTPS connections:
Note LabVIEW automatically updates the HTTP Method URL according to the changes in the settings for HTTP connection and port of the NI Web Server. |
You can define user roles and assign different privileges to each role so that you can control each client's access to each HTTP Method VI and NI Web Server applications.
Refer to Defining User Roles and Privileges in the NI Web Server Manual for information on defining user roles and assign privileges for NI Web Server applications in NI Web Server Configuration.
Complete the following steps in LabVIEW to configure an HTTP Method VI to accept only requests from Web clients with valid privileges:
A Web client must provide a valid username and password whenever the client submits an HTTP request for a VI protected by privileges. Refer to Choosing an Authentication Setting in the NI Web Server Manual and configure settings on the Authentication tab in NI Web Server Configuration to group users into different roles.