n p

n p

  • 1.7k
  • 65
  • 10.8k

access to page for various user

Oct 4 2010 8:37 AM

hi
i have 3 difference user type in my project
1)user
2)institution
3)employee
in my project ,i want  to permit employee to access page that i define .
for example:
page1 emolpyee1 can view it
but page1 employee2 can not view it.
I control my form with sql.i built table and check access.my roles are not limit.i think it is better that i create table with my name page,and userid and control users with this table.is it a good solution?

Answers (1)