Configuring Permissions to the DataSocket Server

NI DataSocket Server

Configuring Permissions to the DataSocket Server

You can categorize users according to how they interact with the DataSocket Server and what permission they need for connecting to the DataSocket Server. Different permission groups include read access, write access, data item creators, and administrators. You also can define new permission groups.

Use the permission groups to group hosts with similar needs. The DataSocket Server Manager provides the following default groups:

  • The Administrators permission group is reserved for future use and mainly intended for retrieving management information from the DataSocket Server.
  • The DefaultReaders permission group can read all dynamically created data items from the DataSocket Server. In addition, the DefaultReaders permission group can read from any predefined data item that has its read access group set to DefaultReaders.
  • The DefaultWriters permission group can write to all dynamically created data items on the DataSocket Server. In addition, the DefaultWriters permission group can write to any predefined data item that has its write access group set to DefaultWriters.
  • The Creators permission group can dynamically create new data items on the DataSocket Server.

Complete the following steps to add a user to a default group:

  1. Launch the DataSocket Server Manager by selecting Start»Programs»National Instruments»DataSocket»DataSocket Server Manager.
  2. Select the group from the Permission Groups list.
  3. Click the Add Host button to add a user to the group.
  4. Add the user to the permission group using either the name or IP address in dotted decimal notation of the computer. The DataSocket Server Manager also has two variables, localhost and everyhost; localhost represents the local computer (the computer where the server is running) and everyhost represents all computers (unrestricted access).