Skip to main content
nhajji
New Member
September 4, 2018
Question

Publish Exchange Server OWA and Deny ECP

  • September 4, 2018
  • 1 reply
  • 12785 views

I need to publish my Exchange Server OWA virtual directory ( https://myEmailServerName/owa )

the usual policy exposes the ECP virtual Directory (  https://myEmailServerName/ECP ).

thus i need to deny access to the ECP, andd allow only OWA.

is there any way to configure this with Fortigate Device ( FortiOS v6.0) other than Fortiweb any ideas please  ??

regards

 

 

 

    1 reply

    Prab
    New Member
    September 7, 2018

    nhajji wrote:

    I need to publish my Exchange Server OWA virtual directory ( https://myEmailServerName/owa )

    the usual policy exposes the ECP virtual Directory (  https://myEmailServerName/ECP ).

    thus i need to deny access to the ECP, andd allow only OWA.

    is there any way to configure this with Fortigate Device ( FortiOS v6.0) other than Fortiweb any ideas please  ??

    regards

     

     

     

    I would recommend to use FortiWeb or a real WAF. The reasons can be read here: https://www.fortinet.com/products/web-application-firewall/fortiweb.html#faqs

     

    Here is an example: https://cookbook.fortinet.com/protecting-web-applications-54/

     

    FGT do has a small WAF daemon but it cannot provide too many options!

    I have it in place and it does its job (at least for our scenario), however you might need to edit the configuration and add some signatures to bypass list, once in 2 weeks. ;)

    I tested the WAF profile with Zap tool and it did block a lot of well known stuff.

    https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project

     

    On FGT you can use WAF profile to protect OWA. Additionally, you could use IPS to enhance security at connection level.

    https://www.fortinet.com/demand/gated/WAF_or_IPS.html

     

    Hope it helps,

    Prab :)

    kd007
    New Member
    September 7, 2018

    FortiGate by itself does not provide a good mechanism to do this; you need to look at a reverse proxy or the suggestions that Prab suggested.

    You can also look at IP filtering on the Exchange server. You can use IIS to filter ECP by the connecting IP address to prevent outside access to ECP while still allowing OWA. However you'll need to note that this breaks some of the OWA features that rely on ECP (I think enabling auto-reply from within OWA is one of these features that breaks, for instance).