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

rpcserver: Add more strict request origin check. #2676

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Jul 5, 2021

This makes the CORS policy for websocket clients more strict by ensuring any requests from other domains are rejected. It is worth noting that, in practice, the current less strict mechanism is secure due to both the use of a self-signed TLS certificate and the requirement for authentication to issue any commands, but further hardening is still desirable.

@davecgh davecgh added this to the 1.7.0 milestone Jul 5, 2021
This makes the CORS policy for websocket clients more strict by ensuring
any requests from other domains are rejected.  It is worth noting that,
in practice, the current less strict mechanism is secure due to both the
use of a self-signed TLS certificate and the requirement for
authentication to issue any commands, but further hardening is still
desirable.
@davecgh davecgh merged commit e917dcb into decred:master Jul 15, 2021
@davecgh davecgh deleted the rpcserver_strict_origin branch July 15, 2021 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants