开发者

Is there an option (or a set of patches) to make Redis selectively read-only?

开发者 https://www.devze.com 2023-03-24 13:14 出处:网络
I would love to have a means to restrict read/write access to a Redis server to a select list of clients.For this purpose AUTH and passwords would not be sufficient.The purpose would be to allow a lar

I would love to have a means to restrict read/write access to a Redis server to a select list of clients. For this purpose AUTH and passwords would not be sufficient. The purpose would be to allow a large number of readers on one side of a Redis server or cluster to fetch/get values while only allowing a smaller number of systems to post new data thereto.

Does anyone know of a set of patches to do this? Perhaps some "undocumented" or obscure configuration option? An alternative to Redis which provides similar data structures, oper开发者_JAVA技巧ations and synchronization/atomicity features but also offers this?

What would be the best way to suggest this as an enhancement request to Salvatore?


webdis - 'A fast HTTP interface for Redis' - supports access control. It provides a REST/JSON API to redis and supports per-command access control by http auth or IP range.

http://webd.is/


Redis is all about simplicity so I doubt such a prominent feature would be undocumented. If you want to contribute, checkout the community page. It's worth a try, but they are very clear that they want to keep Redis simple and that you will find resistance to new features.

0

精彩评论

暂无评论...
验证码 换一张
取 消