User still can access forms/allitem.aspx via Mobile site after Lockdown Mode RRS feed

  • Question

  • Hi There,

    I was trying to help a customer to prevent internet user from accessing the forms/AllItem.aspx page by using 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 such as <a href="http://www./m/English/Forms/AllItems.aspx">http://www.<website>/m/English/Forms/AllItems.aspx), the user are able to see all the items in the AllItem.aspx page.

    How can i prevent user from viewing this page or prompt a 401 Unauthorized.

    Any help is much appreciated.

    Thanks in advanced,


    • Edited by Ivan Chew Monday, April 23, 2012 8:46 AM
    Monday, April 23, 2012 8:32 AM


  • Hi,

    To turn off site access from mobile device you need to edit the “compat.browser” file for your SharePoint site. To find this file, look in your IIS directory for your SharePoint site and look for the App_Browsers folder.

    C:\inetpub\wwwroot\wss\VirtualDirectories\<Site Folder>\App_Browsers

    edit the file as guided in http://blog.drisgill.com/2009/11/sp2010-branding-tip-6-mobile-browsers.html

    hope this helps

    Warm Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/ | Posting is provided "AS IS" with no warranties, and confers no rights

    Wednesday, April 25, 2012 10:42 PM