Limiting access to parts of the site

Apologies if this is an obvious question.


I am trying to limit access to part of our site to our local domain. I think I understand the principle of creating a User Group which has a restriction on it that limits access to a range of IP addresses and the public user is then included in that group. What I don't seem to be able to find in the documentation is

  • exactly how to do this
  • whether the domains can be used rather than IP addresses



    Many thanks,



    Susan

You can find the documentation for User and User Group asset in the Fundamentals Manual available at http://matrix.squiz.net/resources/documentation. However, this manual replaces both User Manual 1 and 2. So, if you are using a version that is older than 3.10.0 please download both User Manual Volume 1 and 2 for that version.


In short, to setup IP restriction:

  1. create a User Group
  2. grant this User Group access to the restricted site
  3. link the Public User under this User Group
  4. go to the 'Restrictions' screen of the Public User
  5. add a new condition: 'User IP Condition'
  6. you shall see something like "User Group (#1234), the user is part of this group when…"



    Edited to add:

    I don't think the current IP restriction condition allows you to enter domain name.

I'm a new Squiz user and I'm having a problem with this too; and I've had trouble following these instructions.


I am trying to create a restricted access area of the website to allow members only access.



When members click on the restricted page, I would like them to be directed to a login prompt and once authenticated that they be redirected back to the intended page.



How do I do that?



Thanks in advance for your help!



Cassandra

Hi


These instructions are for limiting a group to an IP range which is slightly different to your request.



To restrict a section of a site to a particular group you would use permissions. Remove public read permissions and set the read permissions to the group you want. You can either allow Matrix to automatically provide the login for the user, or you could set up your own login design and set it as the "system defined login design" for the site.



You can also create an account manager page to allow the user to register an account.

[quote]Hi


These instructions are for limiting a group to an IP range which is slightly different to your request.



To restrict a section of a site to a particular group you would use permissions. Remove public read permissions and set the read permissions to the group you want. You can either allow Matrix to automatically provide the login for the user, or you could set up your own login design and set it as the "system defined login design" for the site.



You can also create an account manager page to allow the user to register an account.[/quote]

This is probably an obvious question- We don't need our restricted section to be indexed, so in addition to removing public read permissions, is it overkill to:

  1. add a noindex/nofollow tag to the restricted section
  2. modify the asset weight under the search manager?



    many thanks

If you don't need Matrix to search that content (either on the frontend or in the admin interface) then turning off indexing for the content is a good idea. Just make sure you reindex the restricted section so Matrix can remove the values from the index.