Click here to Skip to main content
15,906,329 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i have an application in which user login and download a pdf file 
My challenge is that when user download the file and log out,than if he copies the download url and paste it in address bar 
in any browser it start downloading/it opens ,i want it not be be open if user is not login /not authentic.
please help me i have tried a lot but anything work for me.

1 solution

Have a look and see if this post answers your issue...
How to block access with a web.config file?
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900