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

Implementing HTTPS and securing HTTP headers #153

Open
medic-code opened this issue Dec 4, 2022 · 0 comments
Open

Implementing HTTPS and securing HTTP headers #153

medic-code opened this issue Dec 4, 2022 · 0 comments

Comments

@medic-code
Copy link
Contributor

medic-code commented Dec 4, 2022

I was looking through the code base and noticed that within the Connection object that gets passed to the Client constructor we're specific about not requiring identity verification when making the connection to the database.

It got me thinking about some of the security aspects of the backend like implementing HTTPS and using Helmet to secure the HTTP headers.

  1. Implementing HTTPS for the backend (using the node https module)
    1.1) Key and Certification generation will be required
    1.2) A Certification Authority so that the non-self serving certificate can be generated

  2. Implementing Helmet as a dependency to secure the HTTP headers
    2.1) Forces HTTPS on all requests, even in the event of inadvertent HTTP re-direct requests
    2.2) Provides additional security benefits unrelated to HTTPS

Let me know what you think.

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

No branches or pull requests

1 participant