Throw forbidden error when package is blocked by security policy