Hi

How can I protect/lock a drive from deleting files and format it ?
Is there a way to hook a drive?

Yeah.A drive can be locked.
But for better security you must encrypt the contents of the drive.
But this will prevent the file from being read by any one else.
But it will not prevent formatting.

So how can I lock a drive?

Are ya asking for the algorithm ?
Or something else.
Plz be clear :)

I suppose there is an api to hook a drive
So I just want to know what it is

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.