Software restriction policies