Re: Reference local files via SSL

Michael Weller <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Taylor, Kevin wrote:

>I have a Web application that uses SSL to connect to tomcat. But in my JSP
>pages, I also reference some media files on the user's local disk (CDROM,
>hard drive, etc). These are large images, videos, etc. They are referenced
>in the JSP like this: <img src="d:/some_dir/some_image.jpg/> for example.
>
>The problem is that these local references cause the IE browser to display a
>dialog warning that some items being loaded are "unsecure". Since this is an
>intranet type application that is not available to public use, we don't want
>the warnings to be displayed.
>
>I need a way of either having IE reference these local files via SSL, or
>make IE think it is referencing them via SSL.
>
>The only thought I had was to install a very lightweight web server on the
>user's machine that would serve up these local files via SSL. This, of
>course, turns my thin client web application into a sort of thick client in
>the sense that we must now support processes running on the user's PC.
>
>Any ideas? Thx in advance.
>
>Kevin
>
>
hi!

if it's an intranet-app why do you need ssl at all?
does every user have his/her own images (would you have to install a
'very lightweight web server' on each user's machine)? why don't you
upload those resources to your server?

-mw

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.