Friday, December 30, 2011

Create an Image object from a url that requires authentication

Hello all,

I have some images stored in urls that are password protected, for
example I have the url imageUrl = https://user:pass@mydomain.com. The
problem is that I cannot use this url in the constructor of Image,
because then everyone can view the source and know these credentials.

Is there a way to authenticate to extract the username and password
from the url and establish an authenticated connection with that
server? And then use the plain url?

Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment