I’ve had a request recently to create a members only section in a farcry site that I developed. I knew this capability was already in farcry, but I had no idea how to do it. So, for anyone else trying to accomplish this, here’s what I did…
First, copy the Anonymous policy group and map it to a users group. The reason we use the Anonymous policy group is because other groups have webtop admin rights so if a general site user logs in and is part of any other group, they will be able to inadvertently access webtop functions by right clicking to access the dynamic menu in the site or by manually entering http://sitename/farcry in the url. This is most-likely not something you will want to give the average user access to.
Once you have the user group and policy group created and have added users to the new user group, create branch specific permissions for the members only section of the website. Remove view permissions from the Anonymous policy and set view permissions for the new group. An anonymous user should not have access to view this branch but the new group you created will.
Ideally, this is all you need to do to have members only access to certain areas of your site. If a user is browsing the site and attempts to view the members only section, they will be prompted to log in. Once the user logs in he/she will be granted access.
If you followed these instructions, the user will be sent to the farcry login page to login but will be redirected to the page they requested. This is not a very appealing way to do this because most of the time you would want a login form styled inside the site you are working on.
