JohnTheCoolingFan / sayless

A link shortening service
MIT License
0 stars 0 forks source link

Authorization #2

Closed JohnTheCoolingFan closed 1 year ago

JohnTheCoolingFan commented 1 year ago

An optional authorization feature is planned. It will allow access to link creation and some information only when an api token is provided. Need to find a token generation algorithm.

The planned database table to check for access is planned to be structured like this: a column for the token, columns for creation and expiration dates, column for link creation permission and column for admin data access (at /l/:id/info)

JohnTheCoolingFan commented 1 year ago

Implemented