• 1 reply
  • Latest Post - ‏2013-09-13T19:56:21Z by SriniDp
3 Posts

Pinned topic Best Practices for WAF use

‏2013-09-11T18:17:03Z |

Configs: data power XI50 4.0.

We have configured WAF for a  backend Web application. This application sets cookies, redirects the URLs. 

This is working as per expectation. But to expose this to outside world, requirement is to use MPGW and from MPGW route requests to WAF.

I have used Dynamic Routing, Non-XML in request/ response, ResetLocation.xsl for Server to Client Rule.

But 2 issues ares for setting up the cookies and URL redirection. The Cookies set up by Web Application are not seen while call going through MPGW and it gets redirected to WAF port/ url too. 

Is it a Good Practice to use WAF in DMZ and direct requests to internal network DP WAF? See diag. below

Internet    | FW|     DMZ DP (WAF)   |FW| I    nternal n/w DP (WAF) --> Backend Web Application



  • SriniDp
    46 Posts

    Re: Best Practices for WAF use


    You should use WAF very carefully, i suggest to use WAF(Again it depends on your usecase)  with out any hop to it in datapower because it provides lot of benefits for web applciations. 



    When you proxy web applciations in datapower, you need to change the domain parameter of the cookies to datapower domain name so that browser wil send back the cookies to datapower.



    You have to handle redirects in stylesheet when you proxy web applciations by turning off  follow redirects in WAF.


    If you give me more details i can help you.(Have  Experience in proxying couple of web applications in datapower)