Page 1 of 1

Restricting access to the entire website?

Posted: Thu Oct 16, 2008 5:41 am
by pwg
Hi,

I have CMSMS 1.4.1 and have been playing around with it and its supporting modules/components for a while now.

Can anyone assist me with restricting access to the entire website?

I only want people who I've provided access to be able to login in. The only thing a visitor should see when visiting the site is a user/pass login form. Once they login they will see everything that is published on the site.

I will need to stop search spiders as well.

Anyone know how to do this with CMSMS?

Thanks,

pwg

Re: Restricting access to the entire website?

Posted: Thu Oct 16, 2008 10:13 am
by jack4ya
Use FrontEndUsers module in combination with CustomContent.

Rough outlines:

Install FEU, then create a group, and a user (or more than 1) in that group.
Now with CC you can tell what to do with that group, so on every page / or in the template place the CC code;

Example from he CC help:
{cms_module module=CustomContent}
{if $customcontent_loggedin}
  Welcome {$customcontent_loginname}
  {content} or whatever ;)
{else}
  You are not authorized to view this data
{/if}