1. **Restrict** view access to selected Users and Groups. Set one or both of these variables in its [[WebPreferences]] topic:
- <code>**Set DENYWEBVIEW = < list of Users and Groups >**</code>
- <code>**Set ALLOWWEBVIEW = < list of Users and Groups >**</code>
+ - **_Note:_** `DENYWEBVIEW` is evaluated before `ALLOWWEBVIEW`. Access is denied if the authenticated person is in the `DENYWEBVIEW` list, or not in the `ALLOWWEBVIEW` list. Access is granted in case `DENYWEBVIEW` and `ALLOWWEBVIEW` is not defined.
2. **Hide** the web from an "all webs" search. Enable this restriction with the <code>**NOSEARCHALL**</code> variable in its [[WebPreferences]] topic:
- <code>**Set NOSEARCHALL = on**</code>
3. **Add** <code>**view**</code> to the list of authenticated scripts in the `.htaccess` file.
1. **Restrict** view access to selected Users and Groups. Set one or both of these variables in its [[WebPreferences]] topic:
- <code>**Set DENYWEBVIEW = < list of Users and Groups >**</code>
- <code>**Set ALLOWWEBVIEW = < list of Users and Groups >**</code>
+ - **_Note:_** `DENYWEBVIEW` is evaluated before `ALLOWWEBVIEW`. Access is denied if the authenticated person is in the `DENYWEBVIEW` list, or not in the `ALLOWWEBVIEW` list. Access is granted in case `DENYWEBVIEW` and `ALLOWWEBVIEW` is not defined.
2. **Hide** the web from an "all webs" search. Enable this restriction with the <code>**NOSEARCHALL**</code> variable in its [[WebPreferences]] topic:
- <code>**Set NOSEARCHALL = on**</code>
3. **Enable** the <code>**$doRememberRemoteUser**</code> flag in <code>**lib/TWiki.cfg**</code> as described in [[TWikiUserAuthentication]]. %WIKITOOLNAME% will now remember the IP address of an authenticated user.
## <a name="Hiding Control Settings"></a> Hiding Control Settings
-- %T% To hide access control settings from normal browser viewing, place them in comment markers.
+%T% To hide access control settings from normal browser viewing, place them in comment markers.
-> <!--
->
-> <br />
->
-> - Set DENYTOPICCHANGE = Main.SomeGroup<br /> -->
+<style="background-color:#f5f5f5"> `<!--`<br />` * Set DENYTOPICCHANGE = Main.SomeGroup`<br />`-->`
<a name="SuperAdminGroup"></a>