Closed devosray closed 6 years ago
However, the API exposed is extremely powerful and can grant root access over HTTP.
Any suggestions? Should we disable CORS completely and rather make use of authentication/login to secure the API?
See #6 for authentication
Currently, the API blocks all requests with invalid CORS origins. Adding a package to the API to allow requests from all hosts is simple, but a possible security vulnerability.
Since the API is meant to be consumed by different clients, it makes sense to disable CORS. However, the API exposed is extremely powerful and can grant root access over HTTP.
Any suggestions? Should we disable CORS completely and rather make use of authentication/login to secure the API?