[Auth_Admin] checks the current authentication values which were sent with the HTTP header. If they correspond to the username and password of the global administrator then no action is performed. The page is processed normally with the permissions of the global administrator.
Otherwise, the visitor is prompted with an authentication dialog. They will not be able to see the format file which contains this method unless they specific the username and password of the global administrator.
This tag works similarly to the [Auth] method.
auth_admin
auth_admin(
-realm = 'Realm Name',
-BASIC = boolean,
-nonce = 'string',
-opaque = 'string',
-stale = boolean,
-transparent = boolean,
-noabort = boolean,
-errorresponse = 'string',
-noresponse = boolean
)
Use the [Auth_Admin] method. The method will prevent the page from being served to the current visitor unless they provide the username and password of the global administrator in their browser's authentication dialog box.
Code
Auth_Admin
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments