Identifying and Blocking Google Drive when Using Chrome-cached Session

Identifying and Blocking Google Drive when Using Chrome-cached Session

76297
Created On 09/25/18 20:36 PM - Last Modified 06/08/23 02:56 AM


Symptom


Symptoms

Google Drive access works using Google Chrome browser based on the cached session.

 

Scenario

 

End host has accessed Google Drive or is logged in to the account from home, but when the laptop is enrolled on the office network, the firewall is not able to identify and block the cached session.

 

Diagnosis

When someone is accessing Google Drive via Chrome, we see at least 3 sessions:

 

  • google-base (google.com, client.google.com, gstatic.com, etc) (appid 2075)
    • covers others (main page, navigating, listing, etc).
  • google-drive-web (drive.google.com) (appid 1596)
    • this covers login
  • google-docs-base (docs.google.com) (appid 635)
    • covers downloading and editing functionality


Resolution


Even blocking Google Drive based on the URL category will not help, blocking online-personal-storage (drive.google.com, docs.google.com) will not block listing and navigating.

 

For blocking to work successfully, blocking google-drive is not enough.  We also need to block google-docs.

 

We can further customize the requirements of the customer to allow users to access google-drive but block uploads and downloads.

 

The google-docs application is made of other sub-applications listed below. The app names explain their functions:

  • google-docs-base
  • google-docs-editing
  • google-docs-enterprise
  • google-docs-uploading

 

Note: We will need to have decryption in place for the above functions to work. We should especially decrypt the 'search-engine' category along with the following url's drive.google.com, *.google.com, *.googleusercontent.com, and *.gstatic.com

 

 

A screenshot of adding a security policy to allow access to google-drive but deny downloads or editing, and just allow uploading files.

 

uplaod.png

 

 

Dependent Issue

 

Enabling decryption for search-engine might trigger a safe search enforcement from the the url category, which will break the ability to search from the address bar of the Chrome browser.

 

The search made from the address bar does not include the string " safe=active" when searching, this is seen only when using Google as a default search engine.

 

As a workaround, we can use the following custom search engine (make it default ) in the Chrome settings:

 

{google:baseURL}search?q=%s&safe=active

 

The screen shot is attached for reference.

 

 

Google safe search.jpg

 

 

 

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClilCAC&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language