Sometimes we open a directory for someone to get some data from it. But when we leave the connection should be closed (the person is not allowed to have access himself). Is this possible?