Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

Re: Reference local files via SSL

Michael Weller

2004-07-20

Replies:

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 listserv@(protected)
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
©2008 junlu.com - Jax Systems, LLC, U.S.A.