all groups > iis security > april 2007 >
You're in the

iis security

group:

Adding SSL to a framed website


Adding SSL to a framed website steve
4/19/2007 3:12:37 PM
iis security:
Hi all,

I have two websites (www.site1.com and www.site2.com) running on IIS on two
different machines. One of the pages on site1 uses frames, and the main
frame contains a page from site2. I wish to enable SSL on both sites, but am
concerned that when the frames-page on site1 is accessed the browser will
complain that for the frames-embedded content the URL in the address bar
(www.site1.com) does not match the certificate (which will be from site2).
Is this the case, or will the content from site2 be displayed OK?

Thanks
steve

Re: Adding SSL to a framed website Daniel Crichton
4/20/2007 12:00:00 AM
steve wrote on Thu, 19 Apr 2007 15:12:37 GMT:

[quoted text, click to view]

I've tested using my own SSL sites with IE7 and FF2, and both are happy with
it.

Dan

Re: Adding SSL to a framed website David Wang
4/20/2007 2:31:51 AM
The browser won't complain if you enable SSL correctly on site2. The
reason is because the browser does NOT compare the URL in the address
bar against site2's certificate. It compares the URL that causes it to
make the SSL request (i.e. when the user clicks on the site2 link
located in the site1 frame to make a SSL request to site2) against the
certificate that comes back from negotiating that SSL request (i.e.
the server certificate returned by accessing site2).

In a non-frames situation, the URL in the address bar is a decent
approximation of the URL you clicked on to make the SSL request (not
100% correct because there can be redirections and forward-proxying
scenarios), so one may *think* that the browser compares the URL in
the address bar against the resulting SSL server certificate , but it
is not the case.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



[quoted text, click to view]
Re: Adding SSL to a framed website steve
4/23/2007 12:42:02 PM
[quoted text, click to view]

Thanks to both of you for your replies - it's much appreciated!
steve

Re: Adding SSL to a framed website hordenador
4/28/2007 12:50:38 PM

"steve" <steve@nospamtoday.thanks> escribió en el mensaje
news:EFLVh.363681$Wg6.353306@fe07.news.easynews.com...
[quoted text, click to view]


AddThis Social Bookmark Button