File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hide attachment folder

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have 2 questions:

1) If you delete an attachment it doesn't remove it from the /upload/ directory - has anyone solved this?

2) Is it possible to hide the /upload/ directory in tomcat? If an attachment is removed because of a specific reason i don't want it to be accessible by any other means.

Thanks

Liam
[originally posted on jforum.net by liam]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
liam wrote:2) Is it possible to hide the /upload/ directory in tomcat? If an attachment is removed because of a specific reason i don't want it to be accessible by any other means.

If you hide the directory or made it inaccessible, then JForum users couldn't upload files.

You could delete the attachment file from the upload directory manually.
[originally posted on jforum.net by GatorBait3]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic