[Redis] auth

Big Data2012.10.22 10:32

auth command
- 암호를 설정함으로써 redis server를 보호할 수 있다. redis는 클라이언트로부터 날아온 명령어를 수행하기 전에 암호를 요청할 수 있다. 이는 configuration file의 requirepass 항목을 설정함으로써 동작이 가능하다.

redis> get mykey
(error) ERR operation not permitted
redis> auth 1111
OK
redis> get mykey
"12345678"

http://yujuwon.tistory.com/entry/auth

'Redis' 카테고리의 다른 글

레디스 값 지우는법  (0) 2016.01.20
redis get list 하는 방법  (0) 2016.01.20
redis type 데이터 타입 확인 메서드  (0) 2016.01.19
Redis 데이터 타입  (0) 2016.01.19
key hkey(filed) value 시 ttl 값 체크 hexists  (0) 2015.11.03
Posted by 이상욱1
,