How to restrict the use of local drives?