One of my user requested to block Allitems.aspx page to be blocked for internet users and I blocked it using following command
stsadm -o activatefeature -url <site collection url> -filename ViewFormPagesLockDown\feature.xml) it works and user get 401 Unauthorized.
However, when user browse into a mobile page they are able to see all the items in the AllItem.aspx page.
- To turn off site access from mobile device we need to edit the “compat.browser” file for our SharePoint site.
- To find this file, look in your IIS directory for your SharePoint site and look for the App_Browsersfolder.
Edit the file as guided in http://blog.drisgill.com/2009/11/sp2010-branding-tip-6-mobile-browsers.html