|
-
Apr 19th, 2009, 06:08 AM
#1
Thread Starter
PowerPoster
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
-
Apr 19th, 2009, 01:04 PM
#2
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
-
Apr 19th, 2009, 01:12 PM
#3
Thread Starter
PowerPoster
Re: Methods For Secure Areas
Thanks Gep,
What are the alternates to the Membership Provider? Are Session Variables still a feasbale option?
-
Apr 19th, 2009, 01:19 PM
#4
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
-
Apr 20th, 2009, 01:13 PM
#5
Re: Methods For Secure Areas
 Originally Posted by gep13
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.
-
Apr 21st, 2009, 03:40 AM
#6
Thread Starter
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|