Follow the below steps to set restrictions.
1. Open the file in Foxit PhantomPDF.
2. In Protect menu, choose Password Protection or in File menu, choose Properties.
3. In Security panel, drop down No Protection, choose Password Protection.
4. Check the check box next to Add Document Restriction and input password.
5. Click on Permission button, uncheck the check box to set restrictions.
6. Click on OK to apply it.