summaryrefslogtreecommitdiff
path: root/doc/source/features.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/features.rst')
-rw-r--r--doc/source/features.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/source/features.rst b/doc/source/features.rst
index afe139a..8ecf57d 100644
--- a/doc/source/features.rst
+++ b/doc/source/features.rst
@@ -321,6 +321,19 @@ Snuffleupagus can prevent the execution of this kind of file. A good practice
321would be to use a different user to run PHP than for administrating the website, 321would be to use a different user to run PHP than for administrating the website,
322and using this feature to lock this up. 322and using this feature to lock this up.
323 323
324.. _eval-feature:
325
326White and blacklist in ``eval``
327^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
328
329While `eval <https://secure.php.net/manual/en/function.eval.php>`__ is a
330dangerous primitive, tricky to use right, with almost no legitimate usage
331besides templating and building mathematical expressions based on user input,
332it's broadly (mis)used all around the web.
333
334Snuffleupagus provides a white and blacklist mechanism, to explicitly allow
335and forbid specific functions call from being issued inside ``eval``.
336
324 337
325Protection against cross site request forgery 338Protection against cross site request forgery
326^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 339^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^