Home > Backend Development > PHP Tutorial > Summarize the points to note about authentication and authorization

Summarize the points to note about authentication and authorization

零下一度
Release: 2023-03-10 07:50:02
Original
1590 people have browsed it

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

Summarize the points to note about 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...

2. Linux MySQL New 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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template