Recommend this page to a friend! |
All class groups | > | All authors | > | Classes of Kumar Saurabh Sinha (1) | > | Mission progress status | > | Reputation |
|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
This package can filter values to prevent XSS, SQL injection, CSRF security attacks. The main class can filter one value or an array of values by stripping HTML tags, adding slashes and escaping HTML entities. Another class can prevent Cross-Site Request Forgery attacks by generating a secret token to be passed in forms, so it can verified later to avoid forms submitted by JavaScript code that executes automatically from other site pages. |
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |