You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not allow a student to open a completed sparkpoint in multiple sections to game pacing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Functions for excluding specific dates and weekends from time calculations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A folder is a file with the MIME type application/vnd.google-apps.folder and with no extension.
You can use the alias root to refer to the root folder anywhere a file ID is provided
To insert a file in a particular folder, specify the correct ID in the parents property of the file.
The parents property can be used when creating a folder as well to create a subfolder.
To add or remove parents for an exiting file, use the addParents and removeParents query parameters by calling PATCH https://www.googleapis.com/drive/v3/files/${fileId}
Files
When creating a batch of files, you can preallocate up to 1,000 UUIDs for use in create requests by calling GET https://www.googleapis.com/drive/v3/files/generateIds?count=${count}&space=driveThis does not work when copying files.
All you need is the fileId to copy a file. It does not matter whether or not the document was created by a user of the destination Google Apps domain.
How to safely allow arbitrary SQL queries in multi-tenant web applications
Can we use PostrgreSQL's row-level-security to enable arbitrary query execution security in secure multi-tenant web applications?
Can we break out and access another tenants information?
No, this is handled using schemas, ownership and roles (users). Using RLS does not impact leaking data
between tenants. This allows us to give out SQL accounts that can run arbitrary queries without leaking data between
tenants.
How can we protect against role or privileges escalation within a tenant?
Consider an application that has 3 user types (roles):
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JSON prettifier for the terminal, just pipe to stdin and it'll output formatted JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters