enforcing page view restriction