Home > Article > Backend Development > Summarize the points to note about authentication and authorization
For web pages that need to restrict access to certain users, we need to use authentication and authorization. Verification means checking whether a person is who he or she claims to be. This usually requires a username and password, but also includes any other means of identifying yourself, such as a smart card, fingerprint, etc. Authorization is about finding out whether an authenticated user is allowed to operate a specific resource. This is generally determined by querying whether the user belongs to a role that has access to the resource. Yii has a built-in authentication/authorization (auth) framework that is easy to use and can be customized to meet special needs. The core of the Yii auth framework is a predefined user application component, which is an object that implements the IWebUser interface. This user component represents the current user's persistent authentication information. We can access it anywhere via Yii::app()->user. Using this user component, we can use CWebU
1. Yii Framework Official Guide Series 42 - Topic: Authentication and Authorization
Introduction: For web pages that need to restrict access to certain users, we need to use authentication (Authentication) and authorization (Authorization). Verification refers to checking whether a person is really who he or she claims to be. This usually requires a user...
Introduction: Used in the MySQL environment The system for user authentication and authorization management is flexible and powerful. Not only can you manage what operations can be performed, but you can also control what users can do from
3. Zend framework APIgility to create PHP applications APIso easy (with instructional video)
Introduction: APIgility is a PHP framework for creating APIs. APIgility provides a user interface for describing and configuring APIs. It also provides pipelines to enable your APIs such as authentication and authorization, content negotiation, http negotiation and content validation, etc. In summary: APIgility provides the easiest way to build complete, secure and credentialed APIs. APIgility also mentions
The above is the detailed content of Summarize the points to note about authentication and authorization. For more information, please follow other related articles on the PHP Chinese website!