Results 1 to 6 of 6

Thread: Methods For Secure Areas

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Methods For Secure Areas

    Hey,

    What methods do you guys use for secure areas (Membership areas/Customer areas/ANythign that requires you to log-in)?

    Pino

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Methods For Secure Areas

    Hey,

    I personally use the built in Membership Provider. You can use this to protect areas of your website very easily.

    For a sample of how to go about doing this have a look here:

    http://www.vbforums.com/showthread.p...light=location

    Specifically post #24 which includes a sample application.

    Hope that helps!!

    Gary

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Methods For Secure Areas

    Thanks Gep,

    What are the alternates to the Membership Provider? Are Session Variables still a feasbale option?

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Methods For Secure Areas

    Hey,

    Sure, using Sessions is certainly still an option. It would just mean that you have to take over the control of those elements.

    Some people argue that the Membership Provider is bloated and overly complicated, but I personally have found it to be very useful. I have found that it is very easy to use and in terms of combining with the Login, LoginView, Menu and SiteMap Controls makes it a very simple enable secure areas within your website.

    Gary

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Methods For Secure Areas

    Quote Originally Posted by gep13 View Post
    Some people argue that the Membership Provider is bloated and overly complicated
    They're wrong.

    @Pino: I generally use a custom membership provider and have my Master Page check for the required roles on a page. They are then either redirected or smacked with a spoon.

    Membership providers should let you use cookies and/or sessions as you please.

  6. #6

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Methods For Secure Areas

    Thanks, I will look into this.

    Cheers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width