2 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
5 <link type=
"text/css" rel=
"stylesheet" href=
"style.css" />
12 <img style=
"border:none" alt=
"Redis Documentation" src=
"redis.png">
16 <div id=
"pagecontent">
18 <!-- This is a (PRE) block. Make sure it's left aligned or your toc title will be off. -->
19 <b>AuthCommand: Contents
</b><br> <a href=
"#AUTH _password_">AUTH _password_
</a><br> <a href=
"#Return value">Return value
</a>
22 <h1 class=
"wikiname">AuthCommand
</h1>
29 <h1><a name=
"AUTH _password_">AUTH _password_
</a></h1><blockquote>Request for authentication in a password protected Redis server.A Redis server can be instructed to require a password before to allow clientsto issue commands. This is done using the
<i>requirepass
</i> directive in theRedis configuration file.
</blockquote>
30 <blockquote>If the password given by the client is correct the server replies withan OK status code reply and starts accepting commands from the client.Otherwise an error is returned and the clients needs to try a new password.Note that for the high performance nature of Redis it is possible to trya lot of passwords in parallel in very short time, so make sure to generatea strong and very long password so that this attack is infeasible.
</blockquote>
31 <h2><a name=
"Return value">Return value
</a></h2><a href=
"ReplyTypes.html">Status code reply
</a>