Restricted Web Site Section / Members-only Area
Posted: Mon Jul 16, 2007 2:20 am
I'm trying to build a web site in which much of the content is to be viewed only by those who are logged in. I've set up Custom Content and Front End Users. At this point I've run a number of experiments using the example code given in the help files, and mostly not gotten things to do anything remotely close to useful.
What I really want to do is have the template for the protected pages contain the necessary bits to prevent users from visiting. Beyond that, I'd like any access attempts to protected areas to redirect to the top page for the protected area for login, rather than offering the login form and bracketing the content of each and every page with access control statements within the text of the page itself.
I'm probably missing something basic, since this is something I'm sure lots of folks have done previously.
Anyone able to shed some light on a reasonable way to accomplish this set of goals? Any examples out there?
Thanks,
Dan
What I really want to do is have the template for the protected pages contain the necessary bits to prevent users from visiting. Beyond that, I'd like any access attempts to protected areas to redirect to the top page for the protected area for login, rather than offering the login form and bracketing the content of each and every page with access control statements within the text of the page itself.
I'm probably missing something basic, since this is something I'm sure lots of folks have done previously.
Anyone able to shed some light on a reasonable way to accomplish this set of goals? Any examples out there?
Thanks,
Dan