In Redis there is an authentication feature and also different databases are possible, but can these feature be combined in a secure way?
From MySQL I know that there is a user management with and multiple users can have multiple passwords and can have permissions for only one database.
For security reasons I'd like to have it similar in Redis, because currently I can use requirepass
, but I have to add it to every application, which wants to connect to redis anyway. (Is there at least a way to use multiple passwords for requirepass
?
And I can connect to one database with an application, but AFAIK this application could also just switch to another database. (Can I at least prevent this switch somehow?)
For performance reasons I want to avoid running multiple instances of redis in parallel.