通过下载URL下载pdf文件的预防(安全漏洞)

通过下载URL下载pdf文件的预防(安全漏洞)

问题描述:

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.

看看这篇文章是否回答了你的问题...

如何使用web.config文件阻止访问?

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