1
00:00:00,080 --> 00:00:06,400
all right let's be honest at some point you've had data stored somewhere that

2
00:00:04,400 --> 00:00:10,880
you wanted to get rid of without a trace whether it's embarrassing browser

3
00:00:07,839 --> 00:00:12,880
history photos of an ex or that really

4
00:00:10,880 --> 00:00:16,880
questionable piece of fanfic you wrote one lonely night

5
00:00:14,880 --> 00:00:20,640
i still think it's good of course there are methods that are fairly foolproof

6
00:00:18,880 --> 00:00:24,880
such as subjecting your drive to a fireplace chainsaw or sledgehammer but

7
00:00:23,119 --> 00:00:28,560
let's say you don't want to go to such extremes and you just want to wipe your

8
00:00:26,720 --> 00:00:33,040
drive without there being any realistic chance of that data being recovered

9
00:00:30,400 --> 00:00:37,040
later how would you go about doing this the answer depends on whether you have a

10
00:00:34,800 --> 00:00:41,840
traditional mechanical hard drive or one of those newfangled ssds we'll start out

11
00:00:39,760 --> 00:00:47,120
talking about hard drives and why simply hitting delete or emptying the recycle

12
00:00:44,079 --> 00:00:49,760
bin doesn't securely erase your data

13
00:00:47,120 --> 00:00:53,440
as we discussed in this episode deleting a file in Windows forces the operating

14
00:00:51,840 --> 00:00:58,000
system to see the part of the drive it took up as free space that's available

15
00:00:56,079 --> 00:01:02,399
for something else now but the contents of the file are still there and can be

16
00:01:00,399 --> 00:01:06,880
easily recovered so the conventional wisdom to solve this dilemma is to

17
00:01:04,320 --> 00:01:10,000
overwrite the file with random ones and zeros

18
00:01:08,000 --> 00:01:14,479
this can easily be done on a per file basis or by wiping the entire drive with

19
00:01:12,640 --> 00:01:19,280
a number of freely available software tools but if you look closer these

20
00:01:17,040 --> 00:01:25,439
programs often give you lots of options for overriding your drive many times you

21
00:01:21,439 --> 00:01:28,240
can choose between 1 3 7 or even 35

22
00:01:25,439 --> 00:01:31,439
passes of zeros ones or a random mix of data that may or may not follow a

23
00:01:29,920 --> 00:01:36,159
certain pattern at all but if you're erasing lots of data this could take a

24
00:01:33,520 --> 00:01:40,960
very long time on a slow mechanical hard drive so is it really necessary to scrub

25
00:01:38,400 --> 00:01:44,400
your platters over and over again well the answer is

26
00:01:42,240 --> 00:01:48,799
probably not you see the notion that you have to override a drive tons of times

27
00:01:47,040 --> 00:01:52,960
comes partially from the idea that read write heads on older drives wouldn't

28
00:01:50,880 --> 00:01:56,799
perfectly flip bits from one to zero when they needed to be changed

29
00:01:54,399 --> 00:02:02,479
so a bit read as a one by the computer might be something more like

30
00:01:59,320 --> 00:02:04,640
1.03 so in theory you could use these

31
00:02:02,479 --> 00:02:08,879
imperfectly flipped bits combined with the magnetic signature left by the read

32
00:02:06,880 --> 00:02:14,239
write head on the platter to determine what data used to be on it

33
00:02:11,200 --> 00:02:15,840
hmm that sounds complicated well turns

34
00:02:14,239 --> 00:02:19,920
out that it is and we don't know that anyone's ever actually recovered data

35
00:02:17,599 --> 00:02:24,720
from a disk this way in fact the author of a famous paper that promoted the 35

36
00:02:22,400 --> 00:02:29,360
pass method later noted that overriding that many times on a modern hard drive

37
00:02:26,879 --> 00:02:34,080
was complete overkill and even used the word voodoo to describe people's belief

38
00:02:31,920 --> 00:02:38,879
that his own method was the only way to securely wipe data so the bottom line is

39
00:02:36,560 --> 00:02:42,720
that one good complete passive your drive with an overriding program or

40
00:02:40,560 --> 00:02:48,000
maybe two if you're feeling paranoid should be enough to thwart any snoops

41
00:02:45,440 --> 00:02:52,080
but what if you have an SSD well ssds work quite differently in that

42
00:02:50,000 --> 00:02:56,480
when you delete a file a feature called trim built into most modern drives will

43
00:02:54,560 --> 00:02:59,760
wipe the unwanted data in an effort to prevent it from being copied

44
00:02:57,840 --> 00:03:03,920
unnecessarily and if you're curious about why that would happen we discuss

45
00:03:01,360 --> 00:03:08,560
it in this episode but the point is that a modern SSD should delete a file for

46
00:03:06,239 --> 00:03:13,040
good on its own although you can always run the trim command manually like this

47
00:03:10,879 --> 00:03:16,720
if you're using Windows so if you're following these simple steps there

48
00:03:14,640 --> 00:03:21,040
really isn't much a snoop or even some spy agency can do to see what was once

49
00:03:19,040 --> 00:03:25,200
on your drive but of course do keep in mind that you have to know where the

50
00:03:22,640 --> 00:03:29,120
data is if you want to spot delete it many programs like web browsers write

51
00:03:27,200 --> 00:03:33,760
sensitive data to places on your drive you may not expect so if i were you i'd

52
00:03:31,760 --> 00:03:38,000
just wipe the entire drive and do a fresh os install before selling or

53
00:03:35,760 --> 00:03:42,080
giving away your pc you never know whose hands it might end up in even i did i

54
00:03:40,239 --> 00:03:46,080
wouldn't get caught do you have an extra five minutes per day then use brilliance

55
00:03:44,239 --> 00:03:50,080
daily problems to help you train your brain each problem provides you with the

56
00:03:48,239 --> 00:03:54,080
context and framework that you need to tackle it so that you learn the concepts

57
00:03:52,080 --> 00:03:57,599
by applying them if you like the daily problem then there's more like it in the

58
00:03:55,760 --> 00:04:01,280
quiz on the left so that you can explore the concept in great detail and develop

59
00:03:59,599 --> 00:04:05,040
your framework if you're confused and need more guidance then join the

60
00:04:02,959 --> 00:04:08,959
community in discussing these problems these thought-provoking challenges will

61
00:04:06,720 --> 00:04:12,640
lead you from curiosity to mastery one day at a time so what are you waiting

62
00:04:10,560 --> 00:04:16,799
for go to brilliant.org techwiki and finish your day a little

63
00:04:14,879 --> 00:04:20,799
smarter and the first 200 of you to do so will get 20 off the annual

64
00:04:18,720 --> 00:04:24,240
subscription to view all problems in the archives alright that's it for this

65
00:04:22,720 --> 00:04:27,600
episode guys thanks for watching subscribe to techwiki for more content

66
00:04:26,000 --> 00:04:31,600
just like this leave suggestions in the comments for future videos and check out

67
00:04:29,840 --> 00:04:34,400
all of our other content because we got lots of it
