H
H
HoHsi2015-10-02 07:00:59
memcached
HoHsi, 2015-10-02 07:00:59

How to add authorization to memcached?

How to set up authorization in memcached on a remote machine in the manner of mongodb or mysql?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EvgeniyKonstantinov, 2015-10-02
@HoHsi

Memcached prior to server version 1.4.3 does not support authorization.
This problem is usually solved in one of the following ways:
1. Instead of listening on a port, memcached is configured to listen on a UNIX Socket. And on the Socket, the owner is set to the desired user and type rights: 0600.
2. Use the version (1.4.3+) with SASL authorization: https://code.google.com/p/memcached/wiki/SASLHowto
3. Use the server instead of memecached caching that supports the memcached protocol, but with authorization: www.couchbase.com/memcached

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question