|
-
December 14th, 2007, 09:15 AM
#1
SSL - Auto-switching protocols for performance
I would like to switch between https and http automatically depending on if the page content is sensitive or not. I am hosting on godaddy which does not allow you to turn on SSL for a directory. I'm trying to think of the most clever way to accomplish this. One idea which I am using is to have 2 master pages, default.master and defaultsecure.master. The pageload event swaps the users protocol, if necessary. This way I can simply mark a page a secure by masterpage and know that the user will access that page via https and go back to http when back to a public page.
Is there a more clever way of doing this? Or some setting I missed in the web.config? I'm using .net 2 login controls and was surprised there was nothing there to support this.
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
|