How can I show a notify page for blocked web mail?
search cancel

How can I show a notify page for blocked web mail?

book

Article ID: 165879

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

I would like a notification page to appear to the user when web mail (such as Gmail and Yahoo Mail) get blocked. Currently, these web mail applications are returning 301 redirection to its own login page (login.google.com, login.yahoo.com, login.live.com etc.). Therefore, the user notify page cannot be shown upon blocked/denied because there isn't a "200 OK" return from the origin content server. 

 

Resolution

The workaround is to redirect the user request to an internally hosted web page containing "Access blocked/denied Notification."

1) Create a Notification page (hosted at corporate internal server) with the following URLs as examples:

a) http://server.com/denied_notification.html
b) http://<serverIP/denied_notification.html


2) In the ProxySG Visual Policy Manager (VPM), create or edit the Web Access Layer, and do the following:

Create a rule above the last ALLOW or DENY rule.
Destination: BCWF Category "Email"
Action > Set > New > Return Redirect
Response code: select "301"
URL "http://server.com/denied_notification.html"

3. Install the policy.

Note: This workaround will work only with a Blocked or Denied web email notify page. It is will not work on an ALLOW web email notify page.