Wiki

Articles tagged with "authentication", sorted by viewsX
Displaying 1-10 of 22 result(s).

How to write secure Yii applications

Created 2 years ago by Fran̤ois GannazHow-tos19 comments Рviewed 140,381 times Р( +98 ) Рversion 1.1
warning: While this security guide tries to be quite complete, is not exhaustive. If security matters for you, you ought to check several other references.

How to add more information to Yii::app()->user

Created 5 years ago by qiangTutorials1 comment – viewed 113,091 times – ( +25 ) – version 1.1
By default, the expression Yii::app()->user returns a CWebUser application component which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, CWebUser already comes with a name property that stores the username of the current user.

Simple RBAC

Created 2 years ago by hasanaviTutorials16 comments – viewed 61,750 times – ( +44 / -3 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 4 years ago by thyseusTutorials4 comments – viewed 61,322 times – ( +12 / -4 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

Installing Yii Users and Rights to Newly Created Yii app

Created about a year ago by Rajith RTutorials25 comments – viewed 53,025 times – ( +20 / -10 ) – version 1.1
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

Use crypt() for password storage

Created about a year ago by fsbTutorials16 comments – viewed 53,003 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

How to setup RBAC with a php file

Created 4 years ago by bettorHow-tos17 comments – viewed 51,624 times – ( +26 / -4 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Module based login

Created 3 years ago by suriyansureshTutorials6 comments – viewed 45,526 times – ( +14 ) – version 1.1
If you want to add module based login to a site without using RBAC, please follow these guidelines.

Implementing a User Level Access System

Created 3 years ago by Antonio RamirezTutorials12 comments – viewed 41,188 times – ( +28 / -1 ) – version 1.1
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

Introducción al control de acceso basado en roles (RBAC)

Created 3 years ago by Juan CalvoTutorials4 comments – viewed 35,064 times – ( +17 / -1 ) – version 1.1
Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).