Wiki

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

Kickstart development with Yii-App

Created 4 months ago by Chris83How-tos20 comments – viewed 9,750 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.

Authenticating against phpass hashes with Yii

Created about a year ago by Da:SourcererHow-tos18 comments – viewed 15,757 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.

How to setup RBAC with a php file

Created 3 years ago by bettorHow-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.

How to write secure Yii applications

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

Simple RBAC

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

Use crypt() for password storage

Created 5 months ago by fsbTutorials11 comments – viewed 15,401 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.

How to use ldap in UserIdentity for authentication

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

Implementing a User Level Access System

Created 2 years ago by Antonio RamirezTutorials9 comments – viewed 26,373 times – ( +27 )
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

Show captcha after <N> unsuccessfull attempts

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

Module based login

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