Page 1 of 2

Secure deletion

Posted: Sat Aug 19, 2006 11:18 pm
by Oneder
Hi Tzuk,

Wonder if you may be able to use a little known XP inbuilt function into Sandboxie to implement a secure file deletion that some posters have asked about.

Quote:

How to Use the Cipher Security Tool to Overwrite Deleted Data
To overwrite deleted data on a volume by using Cipher.exe, use the /w switch with the cipher command. Use the following steps:
1. Quit all programs.
2. Click Start, click Run, type cmd, and then press ENTER.
3. Type cipher /w:driveletter:\foldername, and then press ENTER. Specify the drive and the folder that identifies the volume that contains the deleted data that you want to overwrite. Data that is not allocated to files or folders will be overwritten. This permanently removes the data. This can take a long time if you are overwriting a large space.

http://support.microsoft.com/default.as ... 72&sd=tech

Posted: Sun Aug 20, 2006 1:55 pm
by tzuk
Hi Oneder, please see this:

SecureDeleteSandbox in wiki

This is a new feature in version 2.57.

Secure Deletion

Posted: Mon Sep 11, 2006 3:28 pm
by Irondell
Nice to see secure deletion at last. Is there any chance of making it a bit more accessible to those of us not comfortable editing the registry?

Posted: Mon Sep 11, 2006 4:27 pm
by tzuk
Yeah, sure. I guess it's a good idea to migrate as much stuff as possible into Sandboxie.ini.

Posted: Mon Oct 09, 2006 5:25 am
by Unknown_User_461
tzuk wrote:Hi Oneder, please see this:

SecureDeleteSandbox in wiki

This is a new feature in version 2.57.
I have been trying to get this to work. I made the following sandboxie.reg file

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\tzuk\Sandboxie\Control]
"DeleteCommand"="c:\\sdelete.exe -p 2 -s -q "%SANDBOX%""
and successfully installed the key into the registry. However sandboxie seems to not see the key because the standard "cmd" command is being executed. I tried confirming the result by making a folder c:\xx and changing to this:

Code: Select all

"DeleteCommand"="c:\\sdelete.exe -p 2 -s -q "c:\\xx""
But still no success the xx folder was not deleted, but the sandboxed folder was deleted. I then tried the same "cmd" command as shown in link but changed the folder to c:\xx and still the xx folder was not cleared but the sandbox folder was erased as per the default command.

Please help me, what am I doing wrong?

BTW: when I type the "sdelete" command manually into a "cmd" window sdelete.exe works perfectly fine.

Posted: Mon Oct 09, 2006 6:55 pm
by tzuk
Please help me, what am I doing wrong?
You're not doing anything wrong, I can confirm this is a bug in Start.exe. Perhaps I can publish a quick fix tomorrow.

Posted: Tue Oct 10, 2006 6:27 pm
by tzuk
Please try version 2.64.

Posted: Thu Oct 12, 2006 4:16 pm
by Darwin
I'd like to try 2.64 too, but the link that you've provided here and in another thread http://sandboxie.com/phpbb/viewtopic.ph ... n+c000009a point right back here...

Posted: Thu Oct 12, 2006 4:35 pm
by searcher
tzuk needs to fix links :lol:

Latest builds: Announcements
Latest final: Download

p.s. if tzuk release Announcement version as final, always get again from Download cause sometimes minor changes maybe.

Posted: Fri Oct 13, 2006 7:30 am
by Unknown_User_461
tzuk wrote:Please try version 2.64.
Yes, now it works nicely with secure deletion.

An easier 'Secure Delete' option

Posted: Tue Nov 21, 2006 3:06 pm
by esk
Eraser seems to work fine (using the registry method described in http://www.sandboxie.com/index.php?SecureDeleteSandbox).

I used the following registry key value:-
c:\PathToEraser\eraser\eraserl.exe -folder "%SANDBOX%" -subfolders -method Random 1

(Change PathToEraser to suit your system).

Re: An easier 'Secure Delete' option

Posted: Sat Dec 09, 2006 2:18 pm
by Unknown_User_545
esk wrote:Eraser seems to work fine (using the registry method described in http://www.sandboxie.com/index.php?SecureDeleteSandbox).

I used the following registry key value:-
c:\PathToEraser\eraser\eraserl.exe -folder "%SANDBOX%" -subfolders -method Random 1

(Change PathToEraser to suit your system).
Yes seems to work....I think....did the same thing, watching the task manager eraser becomes busy during the delete sandbox and it takes longer so I assume all is working properly

Posted: Mon Dec 11, 2006 9:45 am
by Oneder
I think an easy way is to use Ccleaner's custom files and folders and add SB's top level folder and set for secure deletion.

Posted: Mon Dec 11, 2006 9:57 am
by SBIE User
Oneder wrote:I think an easy way is to use Ccleaner's custom files and folders and add SB's top level folder and set for secure deletion.
That works well.

You can also use my batch file that uses Eraserl.exe to securely erase the top-level sanbox. You'll find it on the forum or let me know and I'll repost it.

Posted: Fri Jan 19, 2007 2:50 am
by searcher
Check Announcements forum for beta and pre releases.

When final released, always get program from official Download link as may be minor changes still from same pre released.