How to restrict only few pages accessible on mobile device instead of whole SharePoint functionality?

I have few pages in SharePoint 2013,I have mobile compatability view for visiting the pages.

But I want to restrict some pages for user viewing from mobile/iPad.

Is there any method is there to restrict that???

1 Answer 1


Out of the box there is no settings to handle this requirement. One possible solution is to add JavaScript to pages and check the user agent string to identify the device and probably redirect to Access Denied page.

This solution is not fool proof.

  • Is there any sample JavaScript available?? Canu shre the sample exaample url..
    – gowtham
    Nov 13, 2014 at 6:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.