Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Secure delete (shred) using ColdFusion

Guest
Oct 09, 2009 Oct 09, 2009

Is there a way to securely delete (shred) a file using ColdFusion?  I assume that CFFILE Action="Delete" is not a secure delete.

812
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 12, 2009 Oct 12, 2009

"Shredding" is not offered in ColdFusion.  Furthermore, the ability to actually do such a thing depends entirely upon the underlying filesystem (and perhaps also the network).  Generally speaking, in my experience it is not possible to obliterate a disk-file such that no piece of it truly remains anywhere.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 12, 2009 Oct 12, 2009

Your answer doesn't surprise me since I was unable to find anything about this subject.

Our situation is that we are using a 3rd party Toolkit to form-fill a PDF template with a user's personal data and allowing them to view it or email it to themselves.  The form-filled PDF gets saved to the server before we redirect the user to it and then we run a sweep procedure to delete them  on a regular basis.  We're just looking for a way to securely remove these documents from the server so no trace is left.

Thanks for your response.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 12, 2009 Oct 12, 2009
LATEST

You might try a 3rd party utility for handling the shredding.

1. Instead of deleting the target files in your CF code move them to a directory 'shred1'

2. Invoke your 3rd party shred utility with CFSCHEDULE, Windows schedule, or *nix cron job to shred the contents of the directory 'shred1'

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources