Access Control Plugin

Need to restrict access to pages on your site?

User View Components

Login Box

Typically, this component can be placed anywhere, however by default we have placed it into the top right corner of this website design. Once you're logged in, the login box will dissapear.

[NUMO.ACCOUNTS: LOGIN BOX(always_show=1&title=Login)]

Registration Box

The registration box is an optional component that can be used if you have a potential for new web users to sign up for an account.

[NUMO.ACCOUNTS: REGISTRATION BOX(id=1&always_show=1&title=Register)]

Menu Component

The links component, if included with your package, is pre placed into the top right menu once you are logged in. This list displayed are of links to pages that you have been granted access to.

    [NUMO.ACCESS CONTROL: LINKS(include_user_links=1)]

Restrict Your Pages

Setting up the Access Control system is a two step system.

First, decide how you want your pages protected: either on a one-to-one user-to-page relation, or on a many-to-many user-group to multipe pages.

If you plan on granting access to individual pages, to specific individual users (Bob Smith gets access to bob_smith_details.htm, and Mary Rogers gets access to mary_rogers.htm) then you could skip along to restricting pages.

However, if you plan on granting access to a group of pages to users of a particular user group (a_team_roster.htm, a_team_practice_schedule.htm for all users of the user type "Team A", View Tutorialand "b_team_roster.htm", "b_team_playoffschedule.htm" for all users of the user type "Team B"), then you'll first need to create those "User Groups"  

Then, once you're ready to restrict pages, and you have your pages published up to your website, log in the administrative area and to restrict the access on those pages. View Tutorial


Example Uses

Allow clients to view information for their eyes only.

Grant access to members of a sports team to get practice and roster information.

Prevent non-authorized users from viewing sensitive information, such as preferred price lists.


System Requirements

Be sure to check your web server environment with your web hosting provider to make sure that it means the following requirements.

  • Server OS: Linux or Unix
  • Web Server: Apache 2 with mod_rewrite and .htaccess files
  • Server Software: PHP 5+, MySQL 5+
  • Not compatible with websites running FrontPage Extensions, or Windows Servers (IIS)
Top