This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JForum and the fly likes Hide attachment folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Hide attachment folder" Watch "Hide attachment folder" New topic
Author

Hide attachment folder

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
Consider Paul's rocket mass heater.
 
subject: Hide attachment folder