views:

10

answers:

0

I have been trying to figure out the best way to make a secure membership area.

I considered doing something like https://www.users.examplesite.com/ but it seems like a lot of trouble to do, also I am using areas in the rest of the app and that looks like double the complication.

Could I just assign the SSL certificate to the root and use the [RequireHttps] attribute onto the controller creating whatever page may need it?

e.g. for non-secure: http:www.examplesite.com/our-services and http:www.examplesite.com/about-us not use an attribute,

but use [RequireHttps] to achieve: https:www.examplesite.com/users/182736