Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Restrict routes by a permission system #463

Open
Fohlen opened this issue Jul 31, 2017 · 1 comment
Open

Restrict routes by a permission system #463

Fohlen opened this issue Jul 31, 2017 · 1 comment

Comments

@Fohlen
Copy link

Fohlen commented Jul 31, 2017

When we implement #197 and #459 we will also need to restrict certain routes to be accessible via the public internet

  • only OAuth and serverlist routes should be publicly accessible
  • everything else should be denied when the request does not come from localhost
  • ideally, route policy should be configurable through a routes-permissions.toml
@Fohlen
Copy link
Author

Fohlen commented Oct 27, 2017

For instance https://www.npmjs.com/package/express-ipfilter could do this..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant