Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Require (Internet Toolkit)

LabVIEW Internet Toolkit 6.0.2 Help
June 2008

NI Part Number:
370014C-01

»View Product Info

The Require directive determines which authenticated users can access a given directory or front panel with a given method.

Scope

You can use this directive only within Limit sections.

Syntax

require entity en1 en2 ... enn

en are entity names, separated by spaces.

entity is one of the following:

  • user—Restricts access to this directory or front panel, with the given methods, to only the named users.
  • group—Restricts access to this directory or front panel, with the given methods, to only the named group.
  • valid-user—All the users defined in the AuthUserFile can access once they provide a valid password.

Filename

access.cfg

Default

There is no default.

Example

The following directive specifies the order deny,allow and the Require directive for this directory. In this command, the server first evaluates the Deny directive for the GET method, which denies all access to this directory. Then, the server evaluates the Allow directive, which allows clients from .ni.com to GET files from this directory. Finally, the server evaluates the Require user authentication directive and allows only users named bob or users in the group developers access to this directory.

<Limit GET>

order deny,allow

deny from all

allow from .ni.com

require user bob

require group developers

</Limit>


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit