Wiki

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

Disable login page if user is logged in

Updated 18 days ago by freezingbananaTutorials1 comment – viewed 2,966 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.

Integrating HybridAuth directly into Yii without an extension

Updated 29 days ago by biz devHow-tos2 comments – viewed 3,904 times – ( +8 )
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Yet another implementation of CPhpAuthManager.

Updated about a month ago by seenivasanHow-tos2 comments – viewed 2,841 times – ( +4 )
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.

Use crypt() for password storage

Updated about a month ago by fsbTutorials11 comments – viewed 15,404 times – ( +16 )
There Is Now A cpasswordhelper Class In system.utils at GitHub that provides an API to simplify the use of crypt() for password storage. While this wiki article remains valid, it will in due course be rewritten to refer to the new class as well as explain how it works.

Installing Yii Users and Rights to Newly Created Yii app

Updated 3 months ago by Rajith RTutorials6 comments – viewed 11,200 times – ( +9 / -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.

Kickstart development with Yii-App

Updated 4 months ago by Chris83How-tos20 comments – viewed 9,752 times – ( +17 )
I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use this project as a starting point for all of your Yii projects.

How to write secure Yii applications

Updated 6 months ago by François GannazHow-tos11 comments – viewed 69,434 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 setup RBAC with a php file

Updated 8 months ago by StagelineHow-tos12 comments – viewed 38,379 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.

Simple RBAC

Updated 9 months ago by StagelineTutorials11 comments – viewed 32,279 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.

Adding login form to each page

Updated 10 months ago by Yang HeTutorials5 comments – viewed 18,158 times – ( +3 / -1 )
After adding proper form to the main layout, like: