Reply to Re: Security matrix

Your name:

Reply:


Posted by Tony Marston on 10/18/06 08:59

What you are describing is a Role Based Access Control (RBAC) system. Take a
look at
http://www.tonymarston.co.uk/php-mysql/role-based-access-control.html

--
Tony Marston

http://www.tonymarston.net
http://www.radicore.org


<weetat.yeo@gmail.com> wrote in message
news:1161153904.863203.327090@m73g2000cwd.googlegroups.com...
> 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
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация