Access restriction in the AssignmentSolutionPHPScript is provided via the PHP code in RestrictingWebAccessToCourse. This PHP script is also dependent on a WaterMarkScript.
Edit