seasketch / geoprocessing

Serverless geoprocessing system
https://seasketch.github.io/geoprocessing
BSD 3-Clause "New" or "Revised" License
12 stars 2 forks source link

Authorization #6

Open underbluewaters opened 4 years ago

underbluewaters commented 4 years ago

Implement access control scheme described here: https://github.com/seasketch/geoprocessing/wiki/OriginalDesignDoc#access-control-tokens

This system should protect user sketch data and support locking down report outputs to specific authorized projects.

twelch commented 2 years ago

Example of adding authorizer to gateway/lambdas in Typescript with latest CDK

twelch commented 1 week ago

Access control of Lambda endpoints so they are not publicly accessible:

Access control of sensitive reports (in addition to above):

SeaSketch manages which groups can access a geoprocessing function:

Sources:

twelch commented 1 week ago

Could potentially use the same token provided in sketch URL. Add additional claims there. Could provide an easier way to get token for debugging purposes - context menu item in sketch menu?

twelch commented 1 week ago

Should be able to use a jwt library to verify token with issuer, etc.