Authentication (attribute of restrict)

From JRapid

Jump to: navigation, search

The "authentication" attribute is used inside the <allow> element to specify the type of authentication method to be used against visitors.

Possible values are "basic" which is used to add Basic Access Authentication, commonly used to add security to JRapid WebForms.


 <restrict authentication="basic" />


  • Adding Basic Access Authentication to all the HTML pages in the project:
   <restrict authentication="basic"> 
      <allow privilege="ADMIN" />
      <user name="your_username" password="your_password" privileges="ADMIN" /> 

See also

Personal tools