Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0
I want to restrict docx file & xlsx file recovery.using C# application we are deleting docx & xlsx file i want to restrict recovery of those file.using Pandora software those files are recovered how to restrict that. Solution must be appreciated.
Posted 5-Jan-13 1:11am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi Ravijain,
 
A useful safety method can be to obfuscate the content and save before you proceed so that even if it was recovered, there's not really anything to do with it.
 
If I'm not mistaken, File.Delete will permanently delete the file bypassing the recycle bin (note that is does not throw an exception when the file does not exist, only when there's a permission issue).

* But I guess you've checked to see Pandora securing the file even if it permanently deleted ...
 

 
Cheers,
Edo
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 716
1 OriginalGriff 442
2 Tadit Dash 400
3 sanket saxena 337
4 Peter Leow 228
0 Sergey Alexandrovich Kryukov 11,890
1 OriginalGriff 7,335
2 Peter Leow 5,003
3 Abhinav S 3,943
4 Maciej Los 3,575


Advertise | Privacy | Mobile
Web04 | 2.8.140421.2 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid