From 8ede1a2ecbb62577afd32996956c5feaf7ddf9b6 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Wed, 5 Oct 2011 13:34:52 -0500 Subject: replacing the old HTML user guide with a Sphinx-managed user guide --- user_guide/helpers/security_helper.html | 132 -------------------------------- 1 file changed, 132 deletions(-) delete mode 100644 user_guide/helpers/security_helper.html (limited to 'user_guide/helpers/security_helper.html') diff --git a/user_guide/helpers/security_helper.html b/user_guide/helpers/security_helper.html deleted file mode 100644 index 7343da152..000000000 --- a/user_guide/helpers/security_helper.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - -Security Helper : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 2.0.3

-
- - - - - - - - - -
- - -
- - - -
- - -

Security Helper

- -

The Security Helper file contains security related functions.

- - -

Loading this Helper

- -

This helper is loaded using the following code:

-$this->load->helper('security'); - -

The following functions are available:

- - -

xss_clean()

- -

Provides Cross Site Script Hack filtering. This function is an alias to the one in the -Input class. More info can be found there.

- - -

sanitize_filename()

- -

Provides protection against directory traversal. This function is an alias to the one in the -Security class. More info can be found there.

- - -

do_hash()

- -

Permits you to create SHA1 or MD5 one way hashes suitable for encrypting passwords. Will create SHA1 by default. Examples:

- - -$str = do_hash($str); // SHA1
-
-$str = do_hash($str, 'md5'); // MD5 -
- -

Note: This function was formerly named dohash(), which has been deprecated in favour of do_hash().

- - - -

strip_image_tags()

- -

This is a security function that will strip image tags from a string. It leaves the image URL as plain text.

- -$string = strip_image_tags($string); - - -

encode_php_tags()

- -

This is a security function that converts PHP tags to entities. Note: If you use the XSS filtering function it does this automatically.

- -$string = encode_php_tags($string); - - - - - - - -
- - - - - - - \ No newline at end of file -- cgit v1.2.3-24-g4f1b