nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 307 forks source link

unable to password protect all commands #122

Closed ahmettahasakar closed 8 years ago

ahmettahasakar commented 8 years ago

Hello,

I would like to enable password protection for all commands. However, whatever I tried with the acl, it didnt work. Can you please provide me, what I need to copy and paste to acl.

thanks.

nicolasff commented 8 years ago

You can enable auth for all commands with the following entry in the ACL array:

{
    "http_basic_auth": "user:password",
    "enabled":  ["*"]
}