I would like to add site security to my site. What I was thinking was that we can have security levels and check the security level at the top of secured web pages with an include.
Any suggestions on a Mod that exists or any changes that need to be made?
Let's say I have members of my forum that are members of my school. I want to let them view certain pages relating to the school and keep the others out (sensitive information). I want to use one login (snitz). Each page has it's own security level required. If a page requires a security level, and no one is logged in it needs to switch them to a login for snitz and then redirect them back to the page they requested once they log in.
And the only criteria is whether they are logged in or not? Or do you still want to be able distinguish between different members even id they are all logged in?
That being the case I think you'll need to maintain the member's security level in your column, so you can do that in the forum members table. Then change inc_header.asp so that, after mlev is assigned the value of the Snitz member level, if mlev > o just used the MemberID variable in a query to find out your security level for that member. After this, just find out which page you're in and use the security level retrieved to determine whether the user should access the page or not.