Staging Data
Staging data in an intermediate Google Sheet is best practice when piping data from a source with sensitive data to a source that will have public view access. This prevents bad actors from accessing data by manipulating an IMPORTRANGE function should they get edit access to the sheet.
- Create a new Google Sheet to stage the data
- Use a combination of
QUERYandIMPORTRANGEto import only non-sensitive data from the source sheet (see guidance here). - Use
IMPORTRANGEfrom the new Google Sheet to the public destination sheet.
For added protection, remove all share permissions from the staged data except for the Data Steward.