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 10,492 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 16,185 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 39,421 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 72,705 times – ( +80 )
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 34,415 times – ( +33 / -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 6 months ago by fsbTutorials11 comments – viewed 17,792 times – ( +17 )
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 21,119 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 RamirezTutorials10 comments – viewed 27,396 times – ( +27 )
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

Adding login form to each page

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

Show captcha after <N> unsuccessfull attempts

Created about a year ago by zitterHow-tos6 comments – viewed 7,961 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).