PHP Classes

atk4 Security: Perform security checks on ATK4 based applications

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 55 All time: 10,593 This week: 40Up
Version License PHP version Categories
atk4-security 1.0.0MIT/X Consortium ...5PHP 5, Libraries, Security
Description 

Author

This package can perform security checks on ATK4 based applications.

It provides means to perform several types of well known security types of attacks to avoid that these attacks success in applications developed with the ATK4 framework.

Currently it can detect avoid attacks like Cross-Site Request Forgery using an hidden input, brute force login attempts, detect intruders using PHP IDS.

When a brute force attack or an intrusion is detected, it can invoke callback functions to let applications handle the intrusion detection.

Picture of Francesco Danti
  Performance   Level  
Name: Francesco Danti <contact>
Classes: 7 packages by
Country: Italy Italy
Age: 46
All time rank: 3463136 in Italy Italy
Week rank: 44 Up2 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

Example

<?php

declare(strict_types=1);

use
atk4\ui\Form;

require_once
'bootstrap.php';

$app->add($security = new Abbadon1334\ATKSecurity\ATKSecurity([
   
'intrusion_detection_check' => false,
]));

$app->add($form = new Form());
$form->setModel($model = new User($app->db));

$model->tryLoad(1);

$security->addFieldCSRF($form);

$app->run();


Details

atk4-security

ATK4 addon to added a layer of security and PHPIDS Intrusion Detection System


  Files folder image Files (16)  
File Role Description
Files folder imagedemos (2 files)
Files folder imagesrc (1 file, 3 directories)
Files folder imagetests (2 files)
Accessible without login Plain text file .php_cs.dist Example Example script
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file renovate.json Data Auxiliary data

  Files folder image Files (16)  /  demos  
File Role Description
  Plain text file bootstrap.php Class Class source
  Accessible without login Plain text file CSRF.php Example Example script

  Files folder image Files (16)  /  src  
File Role Description
Files folder imageBruteforce (1 file)
Files folder imageCrossSiteRequestForgery (1 file)
Files folder imageIntrusionDetection (1 file)
  Plain text file ATKSecurity.php Class Class source

  Files folder image Files (16)  /  src  /  Bruteforce  
File Role Description
  Plain text file Bruteforce.php Class Class source

  Files folder image Files (16)  /  src  /  CrossSiteRequestForgery  
File Role Description
  Plain text file CSRF.php Class Class source

  Files folder image Files (16)  /  src  /  IntrusionDetection  
File Role Description
  Plain text file IDS.php Class Class source

  Files folder image Files (16)  /  tests  
File Role Description
  Plain text file ATKSecurityTest.php Class Class source
  Plain text file BuiltInWebServerAbstract.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:55
This week:0
All time:10,593
This week:40Up