How do I block Google Drive's downloading, uploading , and sharing services?

Article #:

Product

Castle

KB-70

Guardian

All

Summary

This article explains how to setup Google Drive categories to restrict what the user is allowed to do — namely downloading, uploading and opening shared documents.

Note: Implementing this solution will only work on the web client, it will not work with Google Drive applications.

Solution

The following will outline the procedure of how to set up custom categories to block uploading, downloading, or accessing shared files in Google Drive.

  1. Create a new custom category in Guardian > Policy objects > Categories, named for the service you are blocking, for example, Google Drive Uploads.
  2. Add the following to block the service:
To block downloads add the following to URL patterns:

((?:drive|docs)\.google\.com\/.*export)

Note: This might still download a file, but the file is the Smoothwall blockpage rather than the file the user is trying to download.

To block shared documents add the following to Domain/URL filtering:

drive.google.com/open

To block uploads add the following to Domain/URL filtering:

clients6.google.com/upload/drive

Tip: If required, you can add the URL pattern and both URLs above to a single custom category to block all Google Drive services

  1. Add the newly created custom category to the Decrypt and inspect policy in Guardian > HTTPS inspection > Manage policies.
    1. If one does not exist, create a new HTTPS inspection policy with the Google Drive custom category selected as the What, and Decrypt and inspect as the Action.
  2. Create a new web filter policy (Guardian > Web filter > Policy wizard) with the following attributes:
Who — Everyone*
What — Choose the custom category created in step 1
Where — Everywhere*
When — Always*
Action — Block
Make Sure Enable Policy is selected

*You should change these based on your organizational needs.

Attribution:

Last updated:

Author:

Contributions by:

31 January 2017

Patrick Gleeson

SN

 

 

Copyright © 2000-2016 Smoothwall All rights reserved.