Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hide attachment folder

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • 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
  • 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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic