Re: ASP.NET & SSL
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 02/11/04
- Next message: Curia Damiano: "TreeView over https / ssl"
- Previous message: Ken Schaefer: "Re: Generic Web app SSL"
- In reply to: Curia Damiano: "ASP.NET & SSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 11 Feb 2004 23:00:45 +1100
Hi,
To avoid the warning you need to either:
a) change the browser settings (not possible if you do not control the
browser)
-or-
b) all resources in a webpage (eg images, CSS, external javascript files,
flash files) need to be referenced using HTTPS not HTTP. So if you have:
<img src="http://www.myserver.com/image.jpg">
you will get an error you see. You need to use:
<img src="/image.jpg">
Cheers
Ken
"Curia Damiano" <curiad@euroforex.com> wrote in message
news:bbcb01c3ec99$9572b560$a501280a@phx.gbl...
: I have an app in C#/ASP.NET 1.1 on a Win2003 server.
: Now I'm trying to make it use SSL, so I requested and
: installed a server certificate to IIS.
: But now I have some questions:
: 1) if I force my web-site to use SSL, and I request a page
: via SSL, in IE a warning appears telling that the page
: contains protected object and non protected object, but
: how is it possible, if I force https? How can I make this
: warning disappear?
: 2) I would like to force https to all my objects; for
: example I'd like images, css, javascript and plain htm to
: be trasmitted not crypted. So I thought of using an
: HttpHandler that redirect http calls of aspx/asmx to https
: and https calls to other object to http. Is it possible?
: Or there is a better solution to this optimization?
: Thanks, Damiano Curia
- Next message: Curia Damiano: "TreeView over https / ssl"
- Previous message: Ken Schaefer: "Re: Generic Web app SSL"
- In reply to: Curia Damiano: "ASP.NET & SSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|