Last post Nov 26, 2014 02:12 AM by Discussion26
Nov 25, 2014 05:46 AM|Discussion26|LINK
I have a gridview control in which i bind link button,on click of which i open .pdf file to view its content.
this is ok if person view file with properly loging into the application in one browser.
But if he copies that pdf url and pastes in another browser,it should not show file content,which is point where i m stuck.
In mycase the pdf content can be easly viewed after copying and pasting its url.
its a asp.net web application.
please reply asap.
Thanx all in advance
Nov 26, 2014 01:20 AM|Summer - MSFT|LINK
Welcome to the ASP.NET forum.
According to your description, I notice that you have a link button which inside the Gridview control, when user click the link button, it will display the PDF file in Gridview.
But if someone copy the PDF url and also view it on Browser.
If so, I want to know that if you display your PDF file by url, I think you’d better
display it only PDF name not all the url path. And you could
save your PDF file url path in string type in database.
Nov 26, 2014 02:12 AM|Discussion26|LINK
Thanx for your reply.
I will try to do that.