Update security.rst
minor #4285 Update security.rst (placid2000)

This PR was submitted for the 2.5 branch but it was merged into the 2.4 branch instead (closes #4285).

Discussion
----------

Update security.rst

Hotfix: allow_if option might been added afterwards and seems to miss in the description above the list

Commits
-------

6a0551c Update security.rst