Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat - direct access to PDF documents

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,
I have got an application deployed on tomcat where user has to login and request for a report for particular month.If the pdf document is available in the 'reports' folder the link will be displayed to user.If the report is not present in the folder then it will be generated and linked will be displayed.
My problem is that if someone knows the path and name of the report he should not be able to access the pdf document by typing the URL directly on browser without logging into the application.
I am using my own authentication method cannot use BASIC authentication method.

Please let me know how this problem can be resolved

Thanks
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Duplicate of:
https://coderanch.com/t/293183/JSP/java/Tomcat-access-PDF-reports-directly

saami sameer,
Please don't post the same question in multiple forums.
    Bookmark Topic Watch Topic
  • New Topic