TheExGenesis / community-archive

An open tweet database and API anyone can build on.
https://www.community-archive.org
MIT License
54 stars 7 forks source link

A flow to create individual tokens to access the API #153

Open DefenderOfBasic opened 4 weeks ago

DefenderOfBasic commented 4 weeks ago

Right now anyone can access the DB through the API. It would be better for security if we required people to create a token to access it, and that can then be revoked on an individual basis. This way we can keep it open but if there are bad actors/someone DDOSing the DB we can revoke it/turn off creation of new tokens etc.

The data on object storage can still be publicly available.

DefenderOfBasic commented 4 weeks ago

Possible implementation:

timothyylim commented 4 weeks ago

Given the current stage of development CA is at right now, it might even be smart to have a waitlist for access and issue tokens manually.