Allow access to a single Google document without allowing access to all of docs.google.com

book

Article ID: 168358

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

Allow access to a single Google doc while blocking the rest of access to docs.google.com

Resolution

For this to work, the ProxySG must have SSL Interception enabled and configured, and the ProxySG must be able to see the full URL path for the HTTPS request.
If you haven't configured SSL Interception please follow TECH244873
 
The following URL is the one used in this example:
https://docs.google.com/spreadsheets/d/1q7PatFCywokR2xFYSea63LMJqQ3qomhZFetSUYYdYg-I/edit#gid=0
 
Once you have configured the ProxySG for SSL Interception, you will need to add a new Web Access Layer:

User-added image
In the image above the new Web Access Layer is called Google Docs.
 
Add a rule that blocks access to https://docs.google.com:


User-added image

Next, add a rule to allow access to the URL that the users need to access. But due to how Google maintains the URLs for the docs, you cannot just copy the whole URL; you have to make use of regular expression to validate the URL path. For our example URL, we will use this part of the URL:

/spreadsheets/d/1q7PatFCywokR2xFYSea63LMJqQ3qomhZFetSUYYdYg-I

User-added image

User-added image

With these two rules, users will now have access to the Doc that is required but access to docs.google.com will be blocked and you will not be able to access any other docs hosted by docs.google.com.
 

Attachments