locked
Show layouts pages based on membership roles. RRS feed

  • Question

  • Hi In a claims  based SP site and we have multiple membership roles. I have lot of application pages in the layouts folder is there an effective way (apart from handling them in code behind) authorize application pages in the layouts page based on roles (only certain membership role can view a particular page others will redirected to custom no access page). Any helpful suggestions and links would be very helpful. Thanks.
    Saturday, January 26, 2013 3:44 AM

Answers

  • Hi,

    try to use Location path in web.config 

    http://technet.microsoft.com/en-us/library/ee191479(v=office.12).aspx


    Regards,
    Fadi Abdulwahab, SharePoint Consultant
    http://blogs.msdn.com/b/fabdulwahab
    http://sqlgoogler.blogspot.com/

    • Marked as answer by Jack-Gao Thursday, January 31, 2013 8:51 AM
    Saturday, January 26, 2013 12:09 PM

All replies

  • Hi,

    try to use Location path in web.config 

    http://technet.microsoft.com/en-us/library/ee191479(v=office.12).aspx


    Regards,
    Fadi Abdulwahab, SharePoint Consultant
    http://blogs.msdn.com/b/fabdulwahab
    http://sqlgoogler.blogspot.com/

    • Marked as answer by Jack-Gao Thursday, January 31, 2013 8:51 AM
    Saturday, January 26, 2013 12:09 PM
  • Hi,

    I am working on this too.

    Can you explain the membership roles that you are using? Are they just straight SP groups or you are talking about CMA (Clasic Mode) , FBA (Form Base) to authenticate your users.

    I wonder if we can create a group with permission “View Application Pages”.

    Serdar.


    • Edited by koppele Monday, January 28, 2013 4:11 AM
    Monday, January 28, 2013 4:07 AM