This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread 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 Head First Android this week in the Android 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]
 
jQuery in Action, 3rd edition
 
subject: Hide attachment folder
 
jQuery in Action, 3rd edition