adding file and network permission