There are a few tools within DW that help with granting
access to specific pages or folders. But what about further
restricting access based upon the individual? For example, someone
may have access to a page to see or modify a budget, but their
access should be restricted to only their own budget and any
budgets below that one as you follow the organization chart. Is
there a good design method for this in DW? I suspect not and that
it must be separately designed and coded, in my case, using PHP,
and perhaps some array processing.
Jim|||
DreamerJim wrote:
> There are a few tools within DW that help with granting
access to specific
> pages or folders. But what about further restricting
access based upon the
> individual?
The Log In User and Restrict Access to Page server behaviors
let you
define an access level. This is normally used for groups such
as
administrators, but there’s nothing to stop you from using it
for
individuals. Give each individual a personal access level.
–
David Powers, Adobe Community Expert
Author, “The Essential Guide to Dreamweaver CS3″ (friends of
ED)
Author, “PHP Solutions” (friends of ED)
http://foundationphp.com/
|||
Thanks David, very helpful. I still have a problem in that
the Restrict Access will only restrict someone’s access to a page.
If I have a budgeting page, I would like to further restrict which
budgets they could access. For example, following the organization
chart, having access to their own budget but also having access to
the budgets for other groups, such as those reporting to them.
Similarly, someone entering a budget should only be able to enter
their own.
The only thought I have is to use a column in their user
profile table, “group”, that contains all of the budgets they can
access, then somehow using the list of groups in a WHERE clause for
the SQL join. This seems rather cumbersome though.
Any thoughts would be appreciated.
Thanks,
Jim|||
DreamerJim wrote:
> The only thought I have is to use a column in their user
profile table,
> “group”, that contains all of the budgets they can
access, then somehow using
> the list of groups in a WHERE clause for the SQL join.
This seems rather
> cumbersome though.
I have never built anything with that level of complexity.
One
possibility would be to create a permissions table. You could
then
create a lookup table to associate users with specific
permissions,
e.g., user 1 has permissions 1, 2, and 3; user 2 has
permissions 1 and
2; user 3 has permission 3 only. You might want to do some
research into
access control lists (ACL).
–
David Powers, Adobe Community Expert
Author, “The Essential Guide to Dreamweaver CS3″ (friends of
ED)
Author, “PHP Solutions” (friends of ED)
http://foundationphp.com/
Related posts:
- Restricting Access
- Restricting Access to Selected Pages
- Restricting access to only one certain page…
- DW8 Restricting Access using PHP
- Access Denied. Permissions problem
Related posts brought to you by Yet Another Related Posts Plugin.