Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Allowed domains #72

Closed
jbrooksuk opened this issue Dec 15, 2014 · 2 comments
Closed

API: Allowed domains #72

jbrooksuk opened this issue Dec 15, 2014 · 2 comments
Labels
Enhancement Security Issues with security in Cachet
Milestone

Comments

@jbrooksuk
Copy link
Member

For security we could allow the API to only be accessed from certain domains. This could simply be a textarea which you write domains on a new line and restricts requests based on the Origin and Referer headers.

Leaving it empty would open the API to anyone (with authentication).

@jbrooksuk jbrooksuk added Enhancement Security Issues with security in Cachet labels Dec 15, 2014
@ilikeprograms
Copy link
Contributor

Disallowed domains would also be a good idea aswell. So you can block based on the Origin/Referer.

@jbrooksuk jbrooksuk modified the milestone: First Release (v1.0.0) Dec 20, 2014
@jbrooksuk
Copy link
Member Author

@ilikeprograms there doesn't seem to be a deny syntax like Access-Control-Allow-Origin, how do you propose blocking?

@efriel efriel mentioned this issue May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Security Issues with security in Cachet
Projects
None yet
Development

No branches or pull requests

2 participants