Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. A real source file shredder?

A real source file shredder?

Scheduled Pinned Locked Moved The Lounge
csharpcombusinessquestionlounge
41 Posts 24 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Christian Graus

    If you save a file with random data of the same exact size, I assume it's guarenteed that the same hard drive sectors get overwritten ?

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

    Y Offline
    Y Offline
    Yusuf
    wrote on last edited by
    #13

    That is correct. That mean the old file can't be retrieved. Here is am interesting read: Can Intelligence Agencies Read Overwritten Data?[^]

    Yusuf May I help you?

    1 Reply Last reply
    0
    • L Lost User

      No, you must open the file while it still exists and write the exact number of bytes it had into it. And you must repeat this procedure several times.

      A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #14

      Yes, that's what I said. Although, as someone else said, if that works, why do you need to do it several times ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      L 1 Reply Last reply
      0
      • H Henry Minute

        Abby[^] is the forensic scientist on the TV show NCIS[^]. As with all of these shows, they manage the impossible with ease.

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #15

        Ahh, I have seen that show only a few times. It would have been clear if you had said that Spock could do this with his Tricorder and some logical deduction :)

        A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

        T 1 Reply Last reply
        0
        • H Henry Minute

          Abby[^] is the forensic scientist on the TV show NCIS[^]. As with all of these shows, they manage the impossible with ease.

          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

          R Offline
          R Offline
          ricmil42
          wrote on last edited by
          #16

          And if she can't, McGee can!

          C 1 Reply Last reply
          0
          • S sharp prospector

            The little demon that sits between you and the hard drive. She decides where exactly your bytes go.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #17

            That demon has many names. Resistance, impedance, inductivity, capacity. It lurks in the wires and solder pads on every printed circuit board. Ever since I soldered together my first computer I have been fighting it and, up to now, always won.

            A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

            1 Reply Last reply
            0
            • C Christian Graus

              Yes, that's what I said. Although, as someone else said, if that works, why do you need to do it several times ?

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #18

              The magnetic 'shadows' of previous bits written can be measured and analyzed. For this the drive has to be taken apart in a clean room and the disks inside must be analyzed with sensitive equipment. That's quite expensive. Rewriting several times leaves little to be analyzed.

              A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

              H 1 Reply Last reply
              0
              • J Jun Du

                A recent source file delete program "Secure Delete .Net"[^] reminds me of a real source file shredder. What are reasonable requirements for a source shredder? To me, a couple of requirements are obvious 1) do not delete files but cut them into unrecognised pieces 2) cutting shall be random

                Best, Jun

                C Offline
                C Offline
                Chris Meech
                wrote on last edited by
                #19

                How about an EMP. A big one. Not only will do the file in, but will render the HD unuseable. :)

                Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                L 1 Reply Last reply
                0
                • W wizardzz

                  I've heard 6 times is usually the standard, however, I have also heard that the first time you write to the disk (on a new disk), there may be ways to tell which bit was stored. So overwriting may not work on a virgin drive. You may have to prime a drive by filling the disk with random data first. I would know more, but the only computer forensics expert I knew is no longer alive. Sorry I don't have any sources for this, I'll look later.

                  K Offline
                  K Offline
                  keyboard warrior
                  wrote on last edited by
                  #20

                  So overwriting may not work on a virgin drive. You may have to prime a drive by filling the disk with random data dinner first.

                  W 1 Reply Last reply
                  0
                  • K keyboard warrior

                    So overwriting may not work on a virgin drive. You may have to prime a drive by filling the disk with random data dinner first.

                    W Offline
                    W Offline
                    wizardzz
                    wrote on last edited by
                    #21

                    & wine....

                    K 1 Reply Last reply
                    0
                    • J Jun Du

                      A recent source file delete program "Secure Delete .Net"[^] reminds me of a real source file shredder. What are reasonable requirements for a source shredder? To me, a couple of requirements are obvious 1) do not delete files but cut them into unrecognised pieces 2) cutting shall be random

                      Best, Jun

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #22

                      You can always just save it in SourceSafe. That'll shred it. Big time.

                      I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                      Forgive your enemies - it messes with their heads

                      My blog | My articles | MoXAML PowerToys | Onyx

                      Y P 2 Replies Last reply
                      0
                      • C Chris Meech

                        How about an EMP. A big one. Not only will do the file in, but will render the HD unuseable. :)

                        Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #23

                        And also fry all other electronics in the area. Good idea. Set off an EMP, I would suggest a high yield nuke outside the atmosphere right above your house, and your data will be safely erased.

                        A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

                        C 1 Reply Last reply
                        0
                        • P Pete OHanlon

                          You can always just save it in SourceSafe. That'll shred it. Big time.

                          I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                          Forgive your enemies - it messes with their heads

                          My blog | My articles | MoXAML PowerToys | Onyx

                          Y Offline
                          Y Offline
                          Yusuf
                          wrote on last edited by
                          #24

                          except in this case Murphy's law will kick in and preserve the file for generations to come ;P

                          Yusuf May I help you?

                          1 Reply Last reply
                          0
                          • W wizardzz

                            & wine....

                            K Offline
                            K Offline
                            keyboard warrior
                            wrote on last edited by
                            #25

                            i have found that wine only affects the last 12-15 hours of memory. :-\

                            1 Reply Last reply
                            0
                            • L Lost User

                              And also fry all other electronics in the area. Good idea. Set off an EMP, I would suggest a high yield nuke outside the atmosphere right above your house, and your data will be safely erased.

                              A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

                              C Offline
                              C Offline
                              Chris Meech
                              wrote on last edited by
                              #26

                              All true. Probably should have suggested an NNEMP[^] instead. :)

                              Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                              1 Reply Last reply
                              0
                              • J Jun Du

                                A recent source file delete program "Secure Delete .Net"[^] reminds me of a real source file shredder. What are reasonable requirements for a source shredder? To me, a couple of requirements are obvious 1) do not delete files but cut them into unrecognised pieces 2) cutting shall be random

                                Best, Jun

                                M Offline
                                M Offline
                                Maximilien
                                wrote on last edited by
                                #27

                                <conspiracy> all hd have double the advertised size and everything you write on it will be copied to a hidden partition ... and if you delete a file, multiple copied will be done , just in case. </conspiracy>

                                Watched code never compiles.

                                1 Reply Last reply
                                0
                                • L Lost User

                                  Ahh, I have seen that show only a few times. It would have been clear if you had said that Spock could do this with his Tricorder and some logical deduction :)

                                  A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

                                  T Offline
                                  T Offline
                                  Tom Delany
                                  wrote on last edited by
                                  #28

                                  CDP1802 wrote:

                                  It would have been clear if you had said that Spock could do this with his Tricorder and some logical deduction

                                  But only after he constructed a "mnemonic memory circuit" from stone knives and bearskins... :-\

                                  WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.

                                  L 1 Reply Last reply
                                  0
                                  • J Jun Du

                                    A recent source file delete program "Secure Delete .Net"[^] reminds me of a real source file shredder. What are reasonable requirements for a source shredder? To me, a couple of requirements are obvious 1) do not delete files but cut them into unrecognised pieces 2) cutting shall be random

                                    Best, Jun

                                    T Offline
                                    T Offline
                                    Tom Delany
                                    wrote on last edited by
                                    #29

                                    http://www.ameri-shred.com/equipment/industrial/hard-drive.html[^] That should work...

                                    WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.

                                    1 Reply Last reply
                                    0
                                    • J Jun Du

                                      A recent source file delete program "Secure Delete .Net"[^] reminds me of a real source file shredder. What are reasonable requirements for a source shredder? To me, a couple of requirements are obvious 1) do not delete files but cut them into unrecognised pieces 2) cutting shall be random

                                      Best, Jun

                                      R Offline
                                      R Offline
                                      Rob Graham
                                      wrote on last edited by
                                      #30

                                      Windows indexing.

                                      "People who bite the hand that feeds them usually lick the boot that kicks them." Eric Hoffer

                                      1 Reply Last reply
                                      0
                                      • T Tom Delany

                                        CDP1802 wrote:

                                        It would have been clear if you had said that Spock could do this with his Tricorder and some logical deduction

                                        But only after he constructed a "mnemonic memory circuit" from stone knives and bearskins... :-\

                                        WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #31

                                        Don't disturb him when he does that. Otherwise he might remove a multi-legged creature from your shoulder.

                                        A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          The magnetic 'shadows' of previous bits written can be measured and analyzed. For this the drive has to be taken apart in a clean room and the disks inside must be analyzed with sensitive equipment. That's quite expensive. Rewriting several times leaves little to be analyzed.

                                          A while ago he asked me what he should have printed on my business cards. I said 'Wizard'. I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

                                          H Offline
                                          H Offline
                                          Henry Minute
                                          wrote on last edited by
                                          #32

                                          CDP1802 wrote:

                                          Rewriting several times leaves little to be analyzed.

                                          According to the Eraser[^] file shredder utility the US Govt standard is 35 passes. It isn't on the page I linked to above but I saw it in documentation for a previous version. [Edit] I've just noticed the url for the link above. If the choice was deliberate, if you know what I mean, it's very amusing. :) [/Edit]

                                          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups