aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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]
 
 
subject: Hide attachment folder
 
Similar Threads
File name when using Struts 2 file upload
freemarker templating
Read attachments from an external directory
sending large files through webservice
Attachments