• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

asp.net, pdf

I have a asp.net gridview to show pdf directory information. like <a href="http://www.hello.com/reports/printpdf.pdf">Print</a>

So under "Reports" folder, we have 1000 pdf there. My question is. I don't want public user without login websites to download the document.

how can we do that?
0
solution1368
Asked:
solution1368
1 Solution
 
karthi7688Commented:
Keep track of the users in session variable and check for the session value during download.
Hope this helps.
0
 
aplusexpertCommented:
I think you can prevent by don't allowing directory browsing to your virtual directory.
0
 
solution1368Author Commented:
by: aplusexpert: can you show me how?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now