simple-http-authentication Simple Http Authentication

  1. Documentation
  2. Change Log

This extension is a simple http authentication system. It works as a filter in your controllers and you supply username/password pairs to allow users execute the actions. It makes for easy administration sections etc. nothing too fancy. It doesn't use Digest, that might be something for the future.

Resources

Documentation

Requirements
  • Yii 1.0.2 or above
Installation
  • Place the HttpAuthFilter.php under protected/components
Usage

See the following code example:

public function filters()
	{
		return array(
            array(
			'HttpAuthFilter',
            'users'=>array('admin'=>'admin'),
            'realm'=>'Admin section'

                  )  
            );
	}

Change Log

March 14, 2009
  • Initial release.
2 0
2 followers
1 132 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Auth
Tags:
Developed by: dalip
Created on: Mar 14, 2009
Last updated: 15 years ago

Downloads

show all