Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

attachement problem

 
vivek java
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In My application I want to send attachements
along with plain message(just like yahoo).
But how do i protect folders(in appache-tomcat server) which will contain this attachements.what i mean user can type URL of this folder and see this attachements.I want only valid (logged in) user acess the attachement by clicking on a link on the web page how to do this.
some proposed to keep it away from webroot.
but dont no how to do this.and one more possibility use security constraint in deployment
descriptor.i tried this but it is not working
Please show me some way regarding this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic