Click to See Complete Forum and Search --> : Reading PDF from ASP


web_beginner
05-29-2003, 07:33 PM
Hi All,

I am writing a test asp application which allows users to login and read a PDF report. It is working what I wanted to do.

However, I can also read a PDF report by just typing
a URL at the address bar without going through the applicaiton. That was wrong. It MUST always go
through the application (authorisation steps) to read a PDF report.

I tried to change the report directory sturcture, it still wouldn't helped.

Here is my directory structure

My_directory (set up as virtual)
login.asp
+main
+images
+includes

Under main
main.asp
global.asa (to access the database for valid user)
+report

Under report
1.pdf (is called from /main/main.asp)
2.pdf

Please, Can anyone point me a direction how I can get this problem fix??

Thank you in advance.

web_beginner
:confused: :mad:

web_beginner
05-29-2003, 09:04 PM
Thanks Dave,

I will try to do it and let you know the outcome!

Web_beginner
:(