W
Wendy S
I'm creating pdf files on a database server, and need to deliver them to a
logged-in user in a secure fashion. Currently, we create a directory on the
web server, and place the pdf and a .htaccess file that restricts access to
only the IP address that the request came from.
What options do I have to send a pdf to a browser without redirecting to its
location? I was thinking of forwarding the request to a Servlet which would
look in the session for the UserID and the requested report, then [?] stream
the pdf back to the browser.
I'm having no luck with Google, mostly because I don't know what I'm looking
for. I'm sure someone has done this already, so links are appreciated!
logged-in user in a secure fashion. Currently, we create a directory on the
web server, and place the pdf and a .htaccess file that restricts access to
only the IP address that the request came from.
What options do I have to send a pdf to a browser without redirecting to its
location? I was thinking of forwarding the request to a Servlet which would
look in the session for the UserID and the requested report, then [?] stream
the pdf back to the browser.
I'm having no luck with Google, mostly because I don't know what I'm looking
for. I'm sure someone has done this already, so links are appreciated!