Wiki

Articles tagged with "authentication"X
Displaying 11-19 of 19 result(s).

Implementing a User Level Access System

Created 2 years ago by Antonio RamirezTutorials9 comments – viewed 26,405 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,065 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).

Module based login

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

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,877 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,400 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.

How to use ldap in UserIdentity for authentication

Created 3 years ago by BeerSercTutorials10 comments – viewed 20,270 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,189 times – ( +3 / -1 )
After adding proper form to the main layout, like:

How to use markItUp! on a text field for full WYSIWYG editing

Created 3 years ago by lucifuriousTutorials2 comments – viewed 13,546 times – ( +3 )
This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

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

Created 4 years ago by qiangTutorials1 comment – viewed 67,512 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.