Implement the private directory directive and backend.