commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schalk" <sch...@volume4.co.za>
Subject RE: Serving files through a Servlet?
Date Mon, 28 Jul 2003 15:37:36 GMT
Robert

Do your users have to log in before accessing these downloadable files?

Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:schalk@volume4.co.za
web: www.volume4.co.za
 

:: -----Original Message-----
:: From: Robert Priest [mailto:Robert.Priest@bentley.com]
:: Sent: Monday, July 28, 2003 4:37 PM
:: To: 'commons-user@jakarta.apache.org'
:: Subject: RE: Serving files through a Servlet?
:: 
:: Hello All,
:: 
:: I am sorry. I was only subscribed to the Dev list, not the user. I am
:: subscribed now however.
:: 
:: If someone replied to this message, could you forward it to me... Thank
you.
:: 
:: 
:: Also, I had another question:
:: 
:: How can I check for a Valid session id before allowing access to a file?
:: 
:: For example:
:: 
:: - I have a directory containing files for download:
:: http://localhost/myservlet/downloaddir/
:: - but before you download a file, say abc.jar (by using
:: "http://localhost/myservlet/downloaddir/
:: abc.jar"), I want to make sure that you have a valid session id. If your
:: session id is invalid, you get an access denied page. if not, you are
:: allowed to download.
:: 
:: so I guess what I want is to intercept any request to that "downloaddir"
:: and perform session\security checking (by another servlet or jsp page)
:: before allowing access...
:: 
:: 
:: Is there something in  the commons package for that, or is this a
question
:: more for the "tomcat users" list?
:: 
:: 
:: Thank you.
:: >  -----Original Message-----
:: > From: 	Robert Priest
:: > Sent:	Monday, July 28, 2003 9:47 AM
:: > To:	'commons-user@jakarta.apache.org'
:: > Subject:	FW: Serving files through a Servlet?
:: >
:: >
:: >
:: >  -----Original Message-----
:: > From: 	Robert Priest
:: > Sent:	Monday, July 28, 2003 9:19 AM
:: > To:	'jakarta-commons@jakarta.apache.org'
:: > Subject:	Serving files through a Servlet?
:: >
:: > Is there anything in the jakarta-commons package that will allow one to
:: > serve files through a servlet? I would like to have requests for
:: > downloading files come through a servlet instead of serving them
directly
:: > from an "http" accessible directory...
:: >
:: >
:: >
:: 
:: ---------------------------------------------------------------------
:: To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
:: For additional commands, e-mail: commons-user-help@jakarta.apache.org



Mime
View raw message