I'm writing a web application where some media files can't be allowed to
be accessed by the public. I, for example, have some QuickTime movies
which has to be protected one way or another. The best way to do this
must be to require the user to verify with normal HTTP security. Am I
right this far?

Then, to protect the resource but to control the access permission I
could grant access to that specific resource through a servlet which
gets a RequestDispatcher to the specific resoure (in my case a movie)
and then verifies with the correct username and password with HTTP.

So, my question is if I with a servlet can access resources that require
login over HTTP and which API I should use. And, of course, if this is
the best way to protect different resources that resides on a web server
and grant access through a servlet.

Thanks!


Markus Kirsten

___________________________________________________________________________
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

Reply via email to