Please read the "Disallowing specific commands" section on this doc from Redis. I hope it is useful for you.