1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to make Permissions for visitor and member in asp.net website using c#

Discussion in 'C#' started by mano feto, Jan 28, 2014.

  1. #1
    how to make Permissions for visitor and member in asp.net website using c#
    SEMrush
     
    mano feto, Jan 28, 2014 IP
    SEMrush
  2. sourabh_tewari

    sourabh_tewari Greenhorn

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #2
    There are multiple ways of doing this. For members, you need to have an authentication system and maintain session for them. For permissions, you could either use a DB, or maintain the permissions based on "membership", in a pagewise manner. Better approach is using a DB to map the pages with membership types and associating the members to their particular membership and using sessions to grant access.
     
    sourabh_tewari, Feb 24, 2014 IP
  3. advis

    advis Greenhorn

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    I would:
    1. install aspnet_membership
    2. create a permission table
    3. link newly created permission table with aspnet_roles table.
     
    advis, Mar 4, 2014 IP