Author: jerry.tovar | Posted on: 5/6/2009 8:24:00 AM | Views : 274

I have an application virtual directory called /MyApp/. I also have a virtual directory that contains just .PDF files called /PDF/.

How can I force users to login to my /MyApp/Login.aspx form before they are allowed to download a pdf from /PDF/?

My webform in /MyApp/MyPdfSearchForm.aspx allows users to search for PDFs in a table and provides links to the PDF they are looking for. However, if the user bookmarks the PDF document, they are able to view the the PDF at anytime without logging back in.

 How can I use form authentication in the /PDF/ virtual directory to ensure the user is first logged in to  /MyApp/Login.aspx?

...

Go to the complete details ...