remove access to unpermitted files