2017 © Pedro Peláez
 

library ze-security

ZeSecurity is a Zend Framework 2 module that adds an out of the box security layer for your applications based on PHPIDS(Intrusion Detection System)(https://phpids.org/).

image

zendexperts/ze-security

ZeSecurity is a Zend Framework 2 module that adds an out of the box security layer for your applications based on PHPIDS(Intrusion Detection System)(https://phpids.org/).

  • Monday, August 20, 2012
  • by ZendExperts
  • Repository
  • 4 Watchers
  • 20 Stars
  • 581 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

ZeSecurity

ZeSecurity is a Zend Framework 2 module that integrates a security layer in your applications. It includes various components to manage security threats:, (*1)

IDS - Powered by PHP IDS (Intrusion Detection System):

This component scans any user input, be it sent via POST, GET or COOKIE and tries to see if the user input can be considered a threat. Any number of threat levels can be defined with various actions for each one via the configuration file., (*2)

Using this component you can define multiple threat levels, what actions should be taken for each level and also register new plugins for handling attacks., (*3)

Installation / Usage

ZeSecurity can be installed using Composer by simply adding the following lines to your composer.json file:, (*4)

"require": {
    "zendexperts/ze-security": "dev-master"
}

Then run php composer.phar update., (*5)

After the module is installed copy the "zesecurity.ids.global.php" file from "ZeSecurity/config/" in the "/config/autoload/" folder and modify the paths to temp, log or cache files:, (*6)

// define used paths by ZeSecurity IDS
$ids = array(
    'log'=> __DIR__ . '/../../data/log/ze_security.ids.log',
    'tmp'=> __DIR__ . '/../../data/tmp/',
    'cache'=> __DIR__ . '/../../data/cache/ze_security.ids.cache'
);

In the same configuration file a default range of attack levels is defined with various actions for each one., (*7)

Feel free to change them per your needs or define new actions in the actions array. By default the following actions are defined: - ignore: Do nothing with the attack report - log: Save a log message in a stream, email, db, etc. depending on the writter factory param. Currently only stream/file and email are defined. - notify: Send an email with the report using the options defined in the actions array for this action. - redirect: Redirect to a specific URL. - clean_session: Destroy the session to log out any users. When used along with redirect you can log out any users and redirect them to a specic page., (*8)

Documentation

Comming soon., (*9)

In the meanwhile please be sure to check out the PHP IDS (Intrusion Detection System) documentation., (*10)

The Versions

20/08 2012

dev-master

9999999-dev https://github.com/ZendExperts/ZeSecurity

ZeSecurity is a Zend Framework 2 module that adds an out of the box security layer for your applications based on PHPIDS(Intrusion Detection System)(https://phpids.org/).

  Sources   Download

New BSD

The Requires

 

security zf2 module phpids