• Post Reply Bookmark Topic Watch Topic
  • New Topic

Restrict a PDF File  RSS feed

 
Nithish Yalamanchili
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai


Generally applications provides links for downloading PDF files, if we share that with anyone can also download that file. But in our application, we ned to restrict the external users from downloading the file.What we need is users registerd users can download that file. How to restrict that PDF file for external users. Tell me the Solution.

Thanks
Nithish
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way to implement some protection would be to use servlet authentication, which would require a username/password to be entered. That is defined in the servlet specification, so it is available in all servlet engines.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!