bio-guoda / preston

a biodiversity dataset tracker
MIT License
24 stars 1 forks source link

add ability to host forbidden data #290

Open jhpoelen opened 4 months ago

jhpoelen commented 4 months ago

Some datasets contain restricted data.

Suggest to add a way to mark the data as restricted and make the server reply

401 Unauthorized

signifying that the resource exists, but cannot be shared openly.

Applies to use cases like https://bat-literature.github.io , where some referenced pdfs cannot be shared openly due to copyright restrictions.

jhpoelen commented 4 months ago

issue was created in collaboration with @Daniel-Mietchen . Thanks Daniel!