XenMobile: Restrict MAM access, what about Sharefile with XMS as IDP?

Xenmobile

Following my previous article on how to restrict MAM Access https://arnaudpain.com/2017/08/11/xenmobile-restrict-access-mam I encountered an issue.

In fact, I am  using XenMobile server as IDP for ShareFile and when I tried to access with Company Employee Sign In

I got the following:

If you read my previous article, it’s expected, however I would like to not use this possibility to Access ShareFile with Company information.

 

Here after the step need to be done:

  • Create a Responder Policy (under AppExpert / Responder / Policy, click on Add). Provide a Name for the Policy
  • Under Expression, add the following:
HTTP.REQ.HEADER("Referer").CONTAINS("https://yourdomain.sharefile.com/Authentication/Login")

Click on Create

  • Assign Responder Policy to the MAM NetScaler Gateway (under NetScaler Gateway / Virtual Servers, edit your XenMobile NetScaler Gateway)

  • Click on the + sign

  • Click on Add Binding

  • Change Priority to 90 and click on > sign

  • Select the Policy previously created and click on Select

  • Click on Bind

  • Click on Close

  • Click on Done

  • Verify that the Responder Policy is bound and test

 

  • Connect to your ShareFile portal

  • Under Company Employee Sign In click on Sign In, the NetScaler Gateway site open

After successful authentication you are redirected to your ShareFile portal

 

Note: Those information are provided based on my own experience.