locked
enhancing the club site RRS feed

  • Question

  • User106081368 posted

    Hi

    Can anyone give me some guidance. I have downloaded the club template on to my windows home server and its all working ok. I want to extend it such that I can have an additional page(s) available only when someone logs on, but more importantly the information displayed in that page(s) is unique to the person who has logged on.

    Any pointers

     Thanks

     John

    Tuesday, July 1, 2008 7:32 AM

All replies

  • User1187105292 posted

     

    The menu controls have the ability to attach security roles to menu items in the xml files they user for data sources.  They will hide or inactivate those menu items that require roles the user does not have.

    In the web.config file, it's possible to force a user to have certain roles for certain directories.  Check out this part of web.config:

    <authorization>
        <
    allow users="*"/>
    </
    authorization>

    As for the pages having user-specific data, check around thru the starter kits for one that has a GridView command on it.  (Or search on the web, or any good asp.net book.)  You'll see examples of how to do a data-driven page.

     

    Tuesday, July 1, 2008 9:36 AM