Restricting access to the entire website?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

Restricting access to the entire website?

Post 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
jack4ya
Power Poster
Power Poster
Posts: 294
Joined: Thu Oct 19, 2006 10:07 am

Re: Restricting access to the entire website?

Post 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}
Last edited by jack4ya on Thu Oct 16, 2008 10:23 am, edited 1 time in total.
Post Reply

Return to “CMSMS Core”