Wiki

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

Disable login page if user is logged in

Created 14 days ago by freezingbananaTutorials1 comment – viewed 2,400 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.

Yet another implementation of CPhpAuthManager.

Created about a month ago by seenivasanHow-tos2 comments – viewed 2,757 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.

Integrating HybridAuth directly into Yii without an extension

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

Kickstart development with Yii-App

Created 3 months ago by Chris83How-tos20 comments – viewed 9,615 times – ( +16 )
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.

Use crypt() for password storage

Created 5 months ago by fsbTutorials11 comments – viewed 14,969 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

Created 5 months ago by Rajith RTutorials6 comments – viewed 10,832 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.

Show captcha after <N> unsuccessfull attempts

Created 11 months ago by zitterHow-tos6 comments – viewed 7,468 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).

Simple RBAC

Created about a year ago by hasanaviTutorials11 comments – viewed 31,963 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.

How to write secure Yii applications

Created about a year ago by François GannazHow-tos11 comments – viewed 68,765 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.

Authenticating against phpass hashes with Yii

Created about a year ago by Da:SourcererHow-tos18 comments – viewed 15,698 times – ( +25 )
The Portable PHP password hashing framework allows advanced password hashing offering increased security over simple MD5- or SHA1-hashed passwords. phpass is already in use in some larger projects such as WordPress (since v2.5), Drupal 7 and phpBB 3.