Wiki

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

Use crypt() for password storage

Created 6 months ago by fsbTutorials11 comments – viewed 17,815 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.

Authenticating against phpass hashes with Yii

Created about a year ago by Da:SourcererHow-tos18 comments – viewed 16,189 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 use markItUp! on a text field for full WYSIWYG editing

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

Installing Yii Users and Rights to Newly Created Yii app

Created 6 months ago by Rajith RTutorials6 comments – viewed 13,367 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.

Kickstart development with Yii-App

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

Show captcha after <N> unsuccessfull attempts

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

Integrating HybridAuth directly into Yii without an extension

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

Disable login page if user is logged in

Created about a month ago by freezingbananaTutorials1 comment – viewed 3,532 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 2 months ago by seenivasanHow-tos2 comments – viewed 3,344 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.