DO NOT REPLY [Bug 32144] - [io] Add a secureDelete method to FileUtils.java

2006-05-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32144





--- Additional Comments From [EMAIL PROTECTED]  2006-05-08 21:51 ---
Digging in further, the piece of code that needs to be modifiable is sitting in 
a private nested class of 
FileCleaner called Tracker. So not something that FileUpload has any access to 
- or anyone can unless 
IO opens up such a feature.

Something like:

public FileCleaner(Class trackerClass)

and user's could extend the Tracker class (if made more public).

Or have a cleanRequestListener observable pattern to decouple the tracking from 
the deleting and have 
user's set that.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 32144] - [io] Add a secureDelete method to FileUtils.java

2006-04-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32144





--- Additional Comments From [EMAIL PROTECTED]  2006-04-17 16:43 ---
Ick, Simon's suggestion looks painful :)

+1 on this not being in scope for IO. Also, the interface/plugin bit would not 
be relevant for IO, instead 
it's something that should be suggested for FileUpload to allow people to 
customise the deletion (by 
calling wipe etc).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 32144] - [io] Add a secureDelete method to FileUtils.java

2006-04-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32144





--- Additional Comments From [EMAIL PROTECTED]  2006-04-16 21:56 ---
An alternative approach is to use something like CGLIB to generate a custom
variant of commons-io (either statically or at runtime) which overloads the
implemented method. This is effectively using "aspect-oriented" programming. If
you're using something like the Spring framework, this is really simple.

This requirement doesn't seem to me to have wide enough demand to complicate IO
with pluggable file-delete strategies.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 32144] - [io] Add a secureDelete method to FileUtils.java

2006-04-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32144


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |




--- Additional Comments From [EMAIL PROTECTED]  2006-04-16 20:42 ---
Ok, I may agree that this is not that trivial to do right.

But then I suggest that [io] at least offers an interface/factory concept where
those who dare to be secure (!?) could register/overwrite the simple
File.delete() with a better approach as they deem appropriate.

This should be possible WITHOUT the need to recompile the commons-io.jar!

This is important because many higher level frameworks ship with the jar
included and one doesn't want to patch the io.jar upon each release of e.g.
struts...

What do you think?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 32144] - [io] Add a secureDelete method to FileUtils.java

2006-04-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32144


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2006-04-16 19:45 ---
This would appear to be a complex piece of work requiring detailed knowledge
that may change over time. Also, it could expose us to security questions etc if
we get it wrong. Cllosing as out of scope for [io].

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 32144] - [io] Add a secureDelete method to FileUtils.java

2005-06-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32144





--- Additional Comments From [EMAIL PROTECTED]  2005-06-24 21:14 ---
So close this one or incorporate it?
Did not see any license information.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 32144] - [io] Add a secureDelete method to FileUtils.java

2004-11-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32144


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|add a secureDelete method to|[io] Add a secureDelete
   |FileUtils.java  |method to FileUtils.java




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]