You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "abhishek bafna (JIRA)" <ji...@apache.org> on 2016/07/21 16:43:20 UTC

[jira] [Updated] (OOZIE-2612) Add CSRF Filter for REST APIs

     [ https://issues.apache.org/jira/browse/OOZIE-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

abhishek bafna updated OOZIE-2612:
----------------------------------
    Attachment: OOZIE-2612-00.patch

> Add CSRF Filter for REST APIs
> -----------------------------
>
>                 Key: OOZIE-2612
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2612
>             Project: Oozie
>          Issue Type: Bug
>          Components: security
>            Reporter: abhishek bafna
>            Assignee: abhishek bafna
>         Attachments: OOZIE-2612-00.patch
>
>
> CSRF prevention for REST APIs can be provided through hadoop commons servlet filter. This filter would check for the existence of an expected (configurable) HTTP header - such as X-XSRF-Header. This filter is added into Hadoop 2.8.0, so we might need to wait for sometime.
> The fact that CSRF attacks are entirely browser based means that the above approach can ensure that requests are coming from either: applications served by the same origin as the REST API or that there is explicit policy configuration that allows the setting of a header on XmlHttpRequest from another origin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)