Planning For "roles"

I am planning to build a somewhat simple "CMS" for a site of mine. The site will be expanding, have several different areas, and several users with access to one, two, or more areas. I am trying to decide the best way to "mark" in the DB that a user has access to a specific area. (And then how to check if he/she does).

create a separate boolean field in the members list for each area of the site. then on each page check the db (or a session once they're logged in) for that boolean and give access if its good or create a single text field with a list separated by commas and do something similar. which one better?

View Replies


ADVERTISEMENT

Planning

im planning on learning asp but is it better than php?

View Replies View Related

Specific Sql Roles

i need to connect to sql with different roles. is there any way for do that without passing users or passwords in the connection string?

View Replies View Related

Trouble With Sitemap And Roles In ASP2

Has anyone else had any trouble setting up a sitemap view to be
filtered by roles?

We've put a cust role provider in place, and we can verify that it's
only being called once for each connection, and is returning the
correct roles, but...

When we specify a role on the top sitemapnode that role seems to add to
the roles on lower level nodes, so we end up needing to put roles="*"
on the top node, but then regardless of which role we put against the
subnodes they're all visible - seemingly inheriting this from the top
one. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved