spakendralo man
spakendralo man

Reputation: 665

Access control on Redis

I'd like to limit the way Redis is used for the applications that access it, as well as for users so that not every application/user has access to all data.

Is there a way of doing access control on Redis so that applications are only allowed to access certain keys and not others?

Upvotes: 1

Views: 1601

Answers (2)

Malinga
Malinga

Reputation: 515

Simple answer is No, This should be handled in the application end.

While Redis does not try to implement Access Control, it provides a tiny layer of authentication that is optionally turned on editing the redis.conf file. -redis.io

As mentioned above redis provide only a tiny layer of authentication, everything else should be handled by the application.

Upvotes: 2

Itamar Haber
Itamar Haber

Reputation: 49962

Not at the moment. Currently Redis provides a single authorization password per Redis server, which grants full admin and data access to all (shared/numbered) databases in it.

Upvotes: 4

Related Questions