|
Posted by weetat.yeo on 10/18/06 06:45
Hi all ,
I need to Security Matrix in my php project.
The Security Matrix are Administrator , Engineer, Storeman and
Customer.
One of my peers said to make php project more robust, he asked me to
use byte value as security matrix. For example as shown below:
User id Name Security Matrix
1 A 15
2 B 1
3 C 2
from table above user A is 1111
(Administrator,Engineer,Storeman,Customer) , B is 0001 (Customer) and C
is 0010 ( Storeman)
My question is how i am going to check if the user is Administrator
or Customer or etc ?
Any php function to check it?
Thanks
Navigation:
[Reply to this message]
|