diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2011-08-25 05:19:49 +0200 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2011-08-25 05:19:49 +0200 |
commit | c696253dd044fc8d7de5acf835a9d1a6c144e0b3 (patch) | |
tree | 74e9c60a2eceb9386c04b3cf13ae6863b56863e1 /user_guide/libraries/security.html | |
parent | 0ba26c731cf8838b5239c1a7957bc18f58fe2f7d (diff) | |
parent | 6a93995f2a24c0ac8d636ecac5f3eb0d0243e23d (diff) |
Merge remote-tracking branch 'alexbilbie/csrf-override' into feature/csrf-verify
Conflicts:
system/core/Security.php
Diffstat (limited to 'user_guide/libraries/security.html')
-rw-r--r-- | user_guide/libraries/security.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user_guide/libraries/security.html b/user_guide/libraries/security.html index dd62a4386..cbe12d852 100644 --- a/user_guide/libraries/security.html +++ b/user_guide/libraries/security.html @@ -116,6 +116,9 @@ Note: This function should only be used to deal with data upon submission. It's <p>If you use the <a href="../helpers/form_helper.html">form helper</a> the <var>form_open()</var> function will automatically insert a hidden csrf field in your forms.</p> +<p>Select URIs can be whitelisted from csrf protection (for example API endpoints expecting externally POSTed content). You can add these URIs by editing the 'csrf_exclude_uris' config parameter:</p> +<code>$config['csrf_exclude_uris'] = array('api/person/add');</code> + </div> <!-- END CONTENT --> |