Tampilkan postingan dengan label mysqli. Tampilkan semua postingan
Tampilkan postingan dengan label mysqli. Tampilkan semua postingan

Rabu, 04 Desember 2013

PHProtect - Captcha and PHP security (Add-ons)

PHProtect is a tool to allow you to easily insert captcha’s to prevent spam and database flooding and prevent common PHP attacks.




Key functions



  1. Easily include captchas

  2. Time delay on captcha to prevent bruteforce attacks

  3. Automatically sanitise all GET, POST, COOKIE and REQUEST requests with just 2 lines of code

  4. Stop XSS attacks

  5. Stop SQL injections



Captcha


PHProtect allows you to include captcha in your exiting forms with just a few lines of code, allowing you to easily stop spam and prevent flooding.
If the user submits a form with a captcha in too quickly (in less than 2 seconds), this will delay loading of the script by 2 seconds. This will prevent brute force attacks, meaning it can take up to 461 days to crack a single captcha.
The captchas are easy to understand and only contain 5 letters and is not case sensitive.
The captcha is obscured by adding lines to the image and by a non-standard font for letters, making Optical Character Recognition attacks very hard.

String Sanitisation



Using just 2 lines of code you can sanitise all PHP inputs (GET, POST, COOKIE and REQUEST variables). This function can be used to sanitise SQL inputs and XSS attacks alike.
The script includes a function to allow you to sanitise individual variables also.

MySQL Backup Pro Class (Database Abstractions)

MySQL Backup Pro Class




  • backup your MySQL database as
    SQL
    ,
    CSV
    or
    XML
    ;


  • upload backup to
    FTP
    server;


  • send backup as
    email
    attachment;


  • upload to
    Google Drive
    ,
    Dropbox
    ,
    Box
    ,
    SkyDrive
    and other cloud using
    WebDAV
    ;


  • send to server using
    PUTS HTTP;

  • Can pack as ZIP archive;


  • support
    MySQL, MySQLi and PDO
    driver;

  • use CRON to automate backup your data;

  • easy installation on any server;

  • examples of both functions are included;


  • fully documented.


Examples


FILE

Save backup on server as file

Backup::init($params)->as_sql()->save($path);

MAIL

Send backup as attachment on email

Backup::init($params)->as_sql()->mail('your_emal@mail.com');

FTP

Upload backup to FTP server

Backup::init($params)->as_sql()->ftp($ftp_params);

HTTP

Upload backup to HTTP server using method PUTS

Backup::init($params)->as_sql()->http($http_params);

WebDAV (Cloud)


Upload backup to cloud using WebDAV

Backup::init($params)->as_sql()->webdav($webdav_params);


For more examlpes please read description.


Changelog


Version 1.3

  • Minor bug fixes


Version 1.2

  • Add ZIP method


Version 1.1

  • Add PDO driver


Version 1.0

  • Released