This repository has been archived on 2023-08-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2016-06-04 17:26:36 +02:00
|
|
|
Securing Redis
|
|
|
|
|
==============
|
|
|
|
|
|
|
|
|
|
This document provides a good tip for securing your Redis server, just to be 100% happy with the security.
|
|
|
|
|
|
|
|
|
|
##Adding an authentication password for commands
|
|
|
|
|
|
|
|
|
|
This will allow you to add a password to your Redis server that must be used before any other commands can be issued to your Redis server.
|
|
|
|
|
|
|
|
|
|
* Remember choose a strong password with lower-case, upper-case, numbers and other symbols.
|
|
|
|
|
* Make sure there are no spaces. (need to still test this #6969)
|
|
|
|
|
|
|
|
|
|
Then take your password, `x` and run this command (with `sudo` if needed).
|
|
|
|
|
|
2016-06-04 18:57:21 +02:00
|
|
|
echo "requirepass x" >> /path/to/your/redis.conf
|