Secure deletion

Ideas for enhancements to the software
Oneder
Posts: 364
Joined: Tue Aug 30, 2005 8:19 am
Location: Perth,West Oz

Secure deletion

Post by Oneder » Sat Aug 19, 2006 11:18 pm

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

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Aug 20, 2006 1:55 pm

Hi Oneder, please see this:

SecureDeleteSandbox in wiki

This is a new feature in version 2.57.
tzuk

Irondell

Secure Deletion

Post by Irondell » Mon Sep 11, 2006 3:28 pm

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?

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Mon Sep 11, 2006 4:27 pm

Yeah, sure. I guess it's a good idea to migrate as much stuff as possible into Sandboxie.ini.
tzuk

Unknown_User_461
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_461 » Mon Oct 09, 2006 5:25 am

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.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Mon Oct 09, 2006 6:55 pm

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.
tzuk

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Tue Oct 10, 2006 6:27 pm

Please try version 2.64.
tzuk

Darwin

Post by Darwin » Thu Oct 12, 2006 4:16 pm

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...

searcher

Post by searcher » Thu Oct 12, 2006 4:35 pm

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.

Unknown_User_461
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_461 » Fri Oct 13, 2006 7:30 am

tzuk wrote:Please try version 2.64.
Yes, now it works nicely with secure deletion.

esk

An easier 'Secure Delete' option

Post by esk » Tue Nov 21, 2006 3:06 pm

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).

Unknown_User_545
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Re: An easier 'Secure Delete' option

Post by Unknown_User_545 » Sat Dec 09, 2006 2:18 pm

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

Oneder
Posts: 364
Joined: Tue Aug 30, 2005 8:19 am
Location: Perth,West Oz

Post by Oneder » Mon Dec 11, 2006 9:45 am

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.

SBIE User
Posts: 96
Joined: Fri Nov 10, 2006 10:58 am

Post by SBIE User » Mon Dec 11, 2006 9:57 am

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.
SBIE (Happy) User

searcher

Post by searcher » Fri Jan 19, 2007 2:50 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests