title: Google Apps Script, get rid of copy/download option
body: <p>I am wondering if there's a way to use Google Apps Script to share a Google Doc or Google Sheet, but programmatically disable the copy/download feature for viewers/commentors on the document? When share a Google Doc or Sheet normally, you can go to the settings icon and deselect those options:</p>
  <p><a href="https://i.stack.imgur.com/M90fR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M90fR.jpg" alt="enter image description here" /></a></p>
  <p>But can I do that through Google Apps Script?</p>
  <p>As a follow-up to that, is there any way to disable these options for editors too? I'd love to be able to share a document with someone, make them an editor, but prevent them from sharing it with anyone else. Thank you.</p>