dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
736 stars 1.57k forks source link

Is System.IO.File.Delete function secure? #2660

Open CeciAc opened 5 years ago

CeciAc commented 5 years ago

@agowa338 commented on Fri Jun 28 2019

Hello, the documentation does not mention if using this function is secure in the sense of plaintext data being effectively deleted from disk, or if it just removes the file descriptor.

Also the function File.Encrypt is lacking this kind of information. Does it create an encrypted copy of the file or does it actually overwrite the plaintext on disk, so that it cannot easily be restored afterwards.


Dokumentdetails

Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

CeciAc commented 5 years ago

Hi team, I'm moving this here since the contributor is refering to the original documentation best

mairaw commented 5 years ago

@JeremyKuhne @carlossanlop can you help with these questions about File.Delete and File.Encrypt?

agowa commented 4 years ago

any update?