Implementing Software Restriction Policy