Wiki

Articles tagged with "authentication", sorted by ratingX
Displaying 11-19 of 19 result(s).

Integrating HybridAuth directly into Yii without an extension

Created 3 months ago by biz devHow-tos3 comments – viewed 4,691 times – ( +10 )
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

How to setup RBAC with a php file

Created 3 years ago by bettorHow-tos12 comments – viewed 39,342 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.

Installing Yii Users and Rights to Newly Created Yii app

Created 6 months ago by Rajith RTutorials6 comments – viewed 13,165 times – ( +11 / -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.

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

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

Show captcha after <N> unsuccessfull attempts

Created about a year ago by zitterHow-tos6 comments – viewed 7,919 times – ( +14 / -3 )
In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

Yet another implementation of CPhpAuthManager.

Created 2 months ago by seenivasanHow-tos2 comments – viewed 3,305 times – ( +5 )
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

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

Created 4 years ago by lucifuriousTutorials2 comments – viewed 13,854 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.

Adding login form to each page

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

Disable login page if user is logged in

Created about a month ago by freezingbananaTutorials1 comment – viewed 3,483 times – ( +3 / -11 )
This is a very simple tutorial that demonstrates how to redirect user back to the returnUrl if he is already logged in.