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.

    B Offline
    B Offline
    Bassam Abdul Baki
    wrote on last edited by
    #5

    Yeah, I never understood why it needs to be overwritten that many times unless Schroeder's cat comes into play.

    1 Reply Last reply
    0
    • L Lost User

      This is somewhat silly. Simply deleting is not enough, as the physical sectors on the disk still hold all data and the file can be reconstructed. Ok, but after overwriting the file once with random data, you can only reconstruct a file by disassembling the disk in a clean room and using special devices to read the magnetic remnants of the overwritten bits. So from there you already are very safe, as someone first has to steal your drive and pay for this not unexpensive procedure. Overwriting the file several times with random data finally also excludes this possibility. I think I could write such a program in a few minutes :)

      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
      #6

      You can overwrite your data as many times as you like. Abby will still be able to read it. ;P

      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 1 Reply Last reply
      0
      • 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.

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

        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 1 Reply Last reply
        0
        • H Henry Minute

          You can overwrite your data as many times as you like. Abby will still be able to read it. ;P

          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
          #8

          Sorry for my ignorance. Who's Abby?

          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 S E 3 Replies Last reply
          0
          • L LloydA111

            Jun Du wrote:

            What are reasonable requirements for a source shredder?

            IMO, a program which will simply overwrite a file several times with random data, although I read once that it should be several dozen times to be 100% sure it's gone.


            See if you can crack this: fb29a481781fe9b3fb8de57cda45fbef

            The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."

            J Offline
            J Offline
            Jun Du
            wrote on last edited by
            #9

            Lloyd Atkinson wrote:

            a program which will simply overwrite a file several times with random data

            Then I would cut the file into a random number of pieces, each with a random name.

            Best, Jun

            1 Reply Last reply
            0
            • L Lost User

              Sorry for my ignorance. Who's Abby?

              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
              #10

              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 R D 3 Replies 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

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

                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 1 Reply Last reply
                0
                • L Lost User

                  Sorry for my ignorance. Who's Abby?

                  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.

                  S Offline
                  S Offline
                  sharp prospector
                  wrote on last edited by
                  #12

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

                  L 1 Reply Last reply
                  0
                  • 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
                                          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