summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2010-07-23 14:47:34 +0200
committerDerek Allard <derek.allard@ellislab.com>2010-07-23 14:47:34 +0200
commit4433f424d7a0dd7e5863ddd5393c13be377ed6ce (patch)
treeb7815ea2a2ade24a9f2e1abd8391322d8e117811 /user_guide/helpers
parent958543a38c2c97b0ec4c10fc9faf4f0753143880 (diff)
adding sanitize_filename() into the security helper
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/security_helper.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/user_guide/helpers/security_helper.html b/user_guide/helpers/security_helper.html
index 97be674ad..f74a7766c 100644
--- a/user_guide/helpers/security_helper.html
+++ b/user_guide/helpers/security_helper.html
@@ -75,6 +75,12 @@ Security Helper
<a href="../libraries/input.html">Input class</a>. More info can be found there.</p>
+<h2>sanitize_filename()</h2>
+
+<p>Provides protection against directory traversal. This function is an alias to the one in the
+<a href="../libraries/security.html">Security class</a>. More info can be found there.</p>
+
+
<h2>do_hash()</h2>
<p>Permits you to create SHA1 or MD5 one way hashes suitable for encrypting passwords. Will create SHA1 by default. Examples:</p>