Lock out access to directories