Tampilkan postingan dengan label captcha. Tampilkan semua postingan
Tampilkan postingan dengan label captcha. 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.

jQuery and PHP powered Easy Form (Forms)

Looking for a simple contact form that has nice, user friendly validation? You’ve found it.




This form loves validation. All fields (except for Company) are all validated through jQuery and PHP. JavaScript mainly for normal users who just love to fill in forms (and to save sending unnecessary requests to the server). PHP validation for those who love to try to break forms or just simply have JS disabled.




Why does a form need validation? A lot of forms constantly get bombarded with spam because of security flaws. These flaws can lead to the form itself being used to send malicious emails to other users!




Powered by jQuery and PHPMailer




Live Demo


Check out the live demo by visiting this link: Demo

Features



  • jQuery animation for validation rules (have a look on the Demo).

  • JavaScript validation so no page reload! Saves bandwidth.

  • PHP validation if the user has JavaScript disabled the form will still validate.

  • Field specific validation, phone requires numbers, email requires a valid email format etc.

  • Mobile Responsive

  • Anti spam measures (captcha) to deter spam emails. Easy to read.

  • Very easy to implement into an existing HTML or PHP web page. ‘Plug in and Play’ – Simply change the email address and place on your page.

  • Thank you message animation on submission.

  • Error message animation without reloading the page on submission attempt.

  • Customise the HTML email message that is sent

  • User support where possible



Requirements


PHP5
GD Library (if you want the captcha ability)
FreeType Support* (if you want the captcha ability)
* It is possible to have the captcha working without FreeType with a very small modification.

Ask for help


Please feel free to contact me via CodeCanyon or email at hello@davidpottrell.co.uk. Alternatively I’m always on Twitter to help out.

Changes


18/09/2013 – New theme, Responsive CSS, Cleaned code
05/07/2013 – Bugfix for Internet Explorer, FAQ
01/07/2013 – Revamped the support documents to help users install