IAM

OPEN SOURCE

Kohana Modules

This page presents a set of Kohana modules. These modules are concerned with secure authentication and access control, user configuration and logging, automatic form generation and validation, navigation generation and CSS/JS assets.

Logo credit: Kohana.

Kohana Red

Kohana Red is a user authentication module aimed to provide maximum security.

Features:

  • Store your user's passwords safely: modern hash algorithms supported, repeated hashing, application and user salts.
  • Store your user's session in the database.
  • Prevent brute force attacks by setting a login delay.
  • Remember your user's sessions for several days or even months.
  • Manage several groups of users by assigning them to so called roles.

Red is the base module for a whole series of Kohana modules concerned with security, user management and access control:
— Kohana Red: user authentication.
— Kohana Green: access control for controllers and models.
— Kohana Blue: user configuration.
— Kohana Yellow: access logging (in combination with Kohana Green).

An introduction to Kohana Red can be found in my blog article Kohana Authentication using Red.

Documentation is included in the form of .md files which can be viewed using Kohana's Userguide module.

Kohana Red on GitHub

Kohana Green

Kohana Green is used to control access to both controllers as well as models. Using easy rules, access can be granted or restricted for specific users or user groups. These rules are easy to setup and highly customizable.

Features:

  • Control access to controllers and models using simple rules.
  • Rules are stored in the database.
  • Built-in rules to grant access to specific users or specific user roles.

An introduction to Kohana Green can be found in my blog article Kohana Access Control using Green.

Documentation is included in the form of .md files which can be viewed using Kohana's Userguide module.

Kohana Green on GitHub

Kohana Blue

Kohana Blue is user configuration module, that is it provides the capabilities to store user specific configuration options.

Features:

  • Store configuration options identified by a group name and a key.
  • Configuration options are stored in the databse.
  • Correct typing using serialized values.

Documentation is included in the form of .md files which can be viewed using Kohana's Userguide module.

Kohana Blue on GitHub

Kohana Yellow

Kohana Yellow is a logging module used to log all controller and model access and can easily be combined with Kohana Green.

Documentation is included in the form of .md files which can be viewed using Kohana's Userguide module.

Kohana Yellow on GitHub

Kohana Gaps

Kohana Gaps is form generation and validation module. Based on the Kohana ORM module, this module allows to automatically create forms for specific models, validate them and save the updated (or newly created) model to the database. It allows to automatically generate forms based on model configuration while being highly customizable.

Features:

  • Automatic form generation based on model configuration.
  • Supports all common form elements.
  • Automatic form validation based on model configuration.
  • Supports one-to-one, one-to-many and many-to-many relationships between models.
  • Automatically updates the corresponding model and its relationships.
  • Highly customizable.
  • Extensive documentation including examples.

Documentation is included in the form of .md files which can be viewed using Kohana's Userguide module.

Kohana Gaps on GitHub

Kohana Hooks

Kohana Hooks implements a simple event system which is essential for all modern web applications.

Documentation is included in the form of .md files which can be viewed using Kohana's Userguide module.

Kohana Hooks on GitHub

Kohana Media

Kohana Media is an asset management module used to easily manage and compress CSS and JS files.

Documentation is included in the form of .md files which can be viewed using Kohana's Userguide module.

Kohana Media on GitHub

Kohana Navigation

Kohana Navigation is a navigation generation module..

Documentation is included in the form of .md files which can be viewed using Kohana's Userguide module.

Kohana Navigation on GitHub

What is your opinion on this article? Let me know your thoughts on Twitter @davidstutz92 or LinkedIn in/davidstutz92.