Wiki

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

How to write secure Yii applications

Created about a year ago by François GannazHow-tos11 comments – viewed 69,537 times – ( +78 )
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 4 years ago by qiangTutorials1 comment – viewed 67,565 times – ( +18 )
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.

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

Created 3 years ago by thyseusTutorials3 comments – viewed 43,903 times – ( +12 / -2 )
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

How to setup RBAC with a php file

Created 3 years ago by bettorHow-tos12 comments – viewed 38,419 times – ( +24 / -4 )
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 2 years ago by suriyansureshTutorials6 comments – viewed 32,722 times – ( +14 )
If you want to add module based login to a site without using RBAC, please follow these guidelines.

Simple RBAC

Created about a year ago by hasanaviTutorials11 comments – viewed 32,374 times – ( +32 / -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.

Implementing a User Level Access System

Created 2 years ago by Antonio RamirezTutorials9 comments – viewed 26,420 times – ( +27 )
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 2 years ago by Juan CalvoTutorials4 comments – viewed 21,074 times – ( +16 / -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).

How to use ldap in UserIdentity for authentication

Created 3 years ago by BeerSercTutorials10 comments – viewed 20,287 times – ( +11 )
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

Adding login form to each page

Created 3 years ago by pestaaTutorials5 comments – viewed 18,226 times – ( +3 / -1 )
After adding proper form to the main layout, like: