Given that the site’s site has different web pages that only a group of users can access. Talking to guest users can only access the welcome / search page, while user users can access pages that update the database, etc.
I have little experience in this area and I would like to accept some recommendations with a clean / simple / safe implementation.
If possible, I would like to see some specific examples / tutorials, even a book resource.
thanks for the help
, , (Wordpress, Joomla ), (, , ).
, MVC, Zend Framework, CakePHP, Symfony. MVC , , , , , .
, , , ( ) , . . , , . , ( MVC - ). : groupID, Class, Method, Permission, . , , , , .
groupID, Class, Method, Permission
/-. , , , , . : , .
.
. , . , - ..
, . , ..
http://en.wikipedia.org/wiki/Role-based_access_control
, . , . : user.department.list= , (). , () . user.user.list, user.user.edit, user.department.list, user.department.edit. ( , ) , . () - ?
user.department.list
user.user.list
user.user.edit
user.department.edit
Source: https://habr.com/ru/post/1757848/More articles:Return random rows from mysql database without using rand () - phpThe operator '=' is not defined for types Integer and IQueryable (Of Integer) '- vb.netiTextSharp - How to enter an image (PNG) from a project resource? - vb.netComparative Websites - How Do They Work? - xmlGit combine different file names - gitDeclarations and rules for initializing C ++ variables - c ++How to break regular comments into paragraphs, leaving StyleCop happy? - commentsHow to implement some if-then logic with JSF and Facelets? - javaWhere are the order IDs indicated? - c #Первый код EF - составной ключ - c#All Articles