Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3501620
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:52:56+00:00 2026-05-18T12:52:56+00:00

How to safely delete file content? I mean data should be unrecoverably wiped, so

  • 0

How to safely delete file content? I mean data should be unrecoverably wiped, so even if someone (intruder) would undelete deleted file, one could find instead of real data just garbage?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:52:56+00:00Added an answer on May 18, 2026 at 12:52 pm

    In practical terms, you really can’t because you have no idea what kind of medium is being used for storage and whether its blocks can be reliably overwritten. This is especially true on mobile devices containing flash, which has wear-leveling to prolong its life and isn’t guaranteed to overwrite the same block internally when you overwrite a block on the filesystem. That would make it possible for a determined adversary who gains physical control over the medium to recover previously-written blocks.

    You would be better off assuming your data will be intercepted and encrypting it for storage.


    This vulnerability has nothing to do with the OS and everything to do with the medium. Shred et al depend on the assumption that overwriting a block in a file happens in place. On any medium with limited write cycles (e.g., flash), this is an unsafe assumption because the on-board controller reassigns logical block addresses to new blocks of physical memory on writes as a way to delay reaching the write cycle limit on any physical block. This process is completely transparent to the host. Hard disk drives do something similar as a way of staving off failures resulting from bad blocks.

    An adversary who has your device in hand can transplant its flash ICs onto a new carrier and read the entire contents, including blocks that were discarded by the controller as part of the wear-leveling process. I haven’t checked, but I wouldn’t be surprised if the controllers in flash devices can be put into a mode that allows direct access to the memory, eliminating the need to physically tamper with it at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know if I can safely delete the sdf file that
I want to delete a file immediately after download, how do I do it?
What would be the quickest way to delete the contents in the documents directory.
Is there a way to safely populate a byte array from multiple threads (e.g.
Just to be sure it can be safely used with JQuery scripting.
I was wondering if i could safely read from an XmlDocument object using SelectNodes()
Is it possible to create an environment to safely run arbitrary Python scripts under
How do I modify an int atomically and thread-safely in Java? Atomically increment, test
I can see there are many ways to use jQuery safely in the javascript
I have read from this article http://codahale.com/how-to-safely-store-a-password/ and it says using a salt isn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.