dmarro89 / dare-db

Dare-DB is a lightweight in-memory database written in Go, featuring Redis-inspired hashtables and HTTP/HTTPS endpoints for seamless data storage and retrieval, with Docker support for easy deployment
MIT License
53 stars 6 forks source link

Security - Implement basic authentication #33

Closed vdmitriyev closed 2 months ago

vdmitriyev commented 5 months ago

Maybe implementing a Basic Authentication would be enough as the first step to secure a database HTTPS endpoint. The implementation is much easier and should work well for the current case. Because currently, a database consist of a single data structure (key/value pairs) and most probably will be used by a single user.

For now, I would like to close issue with RBAC into backlog: https://github.com/dmarro89/dare-db/issues/7 Because, currently a single role and a single user in the database would be sufficient

@dmarro89 what do you think?

dmarro89 commented 5 months ago

Ok maybe we can start with a simple authentication but I would like to keep the RBAC discussion opened for future development

vdmitriyev commented 5 months ago

Totally agree with you. That is why is move the original issue to backlog and didn't close the discussion thread

dmarro89 commented 5 months ago

Totally agree with you. That is why is move the original issue to backlog and didn't close the discussion thread

Thanks

dmarro89 commented 4 months ago

Hi @vdmitriyev, I'm sorry for the implementation delay but I'm on vacation. I hope to restart in the next week. Cheers

vdmitriyev commented 4 months ago

@dmarro89 Hi! Nice to hear from you. Being on vacation is a good think!

vdmitriyev commented 2 months ago

@dmarro89 would you close the ticket, because https://github.com/dmarro89/dare-db/pull/35 has been accepted and merged? Or you would like to wait, until the documentation, which reflects the changes in the PR will be written down?