Author: vipzrulez | Posted on: 10/15/2010 9:46:05 AM | Views : 264

Hello,
I have a web site that has a folder called Files that contains PDF files.  These PDF files should not be accessible to people who have not signed in to the web site. 
The login URL is www.mysite.com/Account/Login.aspx and the register URL is www.mysite.com/Account/Register.aspx. 
Once the person is signed in they can go to www.mysite.com/Documents/Documents.aspx.  This page has a gridview that lists the PDF files in the Files folder with a link to them.  If the person is not signed in, he/she can't view this Documents.aspx page.  However, if anyone has the URL to the PDF files, they can view those files without having to sign in.
How can I prevent someone from accessing the PDF files in this folder?
The site is hosted on GoDaddy using IIS 6.0.

Thanks in advance.





...

Go to the complete details ...