This article is written for Google Workspace for Education Administrators.

According to Google's definition Publish files as web pages, Docs, Sheets, Slides and Drawings can be shared with public in an accessible form of webpages. This is convenient to share information.

Schools don't want students to share internal resources externally. Admin Console has no native way to disable this publishing files to the web feature.

Having that said, Safe Doc, a chrome extension that can disable this feature and prevent your students from leaking school data. If you have yet to install Safe Doc, apply a 30 days trial.

What's changing?

The publishing files to the web feature is straightforward. Open any Google Docs, Sheets, Slides or Drawing file, and click the menu File > Share > Publish to web. Then you see the feature.

Publish to the web feature in Google Docs
Publish to the web feature in Google Docs

Safe Doc disables this feature by removing the File > Share > Publish to web menu entry. This applies to Docs, Sheets, Slides and Drawing.

Prevent Students from Publishing Google Docs to Web
Publish to the web feature in Google Docs disabled by Safe Doc

How to get started?

First of all, you need to deploy Safe Doc and read how Safe Doc is configured.

Then add or set the following policy in your policy configuration.

"BlockWebPublish": {
  "Value": true

On / off by default?

Safe Doc does NOT block publishing files to the web feature by default.

What's more?

You may also like Block Email as Attachment in Google Docs.

Feel free to leave your comments below.