Solved

asp.net, pdf

Posted on 2013-06-09
3
272 Views
Last Modified: 2014-07-21
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
Comment
Question by:solution1368
3 Comments
 

Expert Comment

by:karthi7688
ID: 39233918
Keep track of the users in session variable and check for the session value during download.
Hope this helps.
0
 
LVL 7

Accepted Solution

by:
aplusexpert earned 500 total points
ID: 39234523
I think you can prevent by don't allowing directory browsing to your virtual directory.
0
 

Author Comment

by:solution1368
ID: 39239017
by: aplusexpert: can you show me how?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question