• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 391
  • Last Modified:

How to Deny Access (Both Read & Write) to Hard Disk .

Hello to all,
I am writing a computer security software, that locks the computer up
with a password.
I've been able to do it pretty OK, but for one part.
For supreme security, I need to completely deny access to the
Hard Disk .

I need some help for solving this . Thank you.
0
KKR_WE_RULE
Asked:
KKR_WE_RULE
  • 7
  • 3
  • 3
  • +1
1 Solution
 
ThievingSixCommented:
Hmm, I'm not sure, but I don't think this can be done simply and safely. I would recommend a kernel driver to block access but: 1) Delphi can't do those. 2) Windows *needs* to access the Hard Drive.

Another to defeat (1) is to do a user mode hook of all the read/write functions in the WinAPI. This still leaves the (2) problem.

What exactly would denying access to the Hard Drive prevent a user from doing that can't be prevented another way.

Here is an open source application called Computer Locker I created in my spare time(get the source, not the exe!). It's very secure once it's enabled and would recommend looking at it. http://delphi.about.com/od/fullcodeprojects/a/computer-locker.htm
0
 
KKR_WE_RULEAuthor Commented:
I own that source..& without doubt, its pretty good..
But my way of making the computer secure in a little different than that one.
The one I wrote blocks access to the USB & also to every other things like desktop, icons & every thing gets locked up..

I dont know if i can put the link to the exe here.If I can  , i'll post it here for all to see.
That will posibly help in finding a soln for the problem . :)
0
 
ThievingSixCommented:
Well this comes back to my original question: Why do you need to stop access to the hard drive? What do you gain in doing so?
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
KKR_WE_RULEAuthor Commented:
prevent attempt of file stealing by the intruder.
0
 
nobusCommented:
is encrypting the disk not a better method then ?
0
 
KKR_WE_RULEAuthor Commented:
Certainly is, but what I thought was, encrypting the disk will take a good amount of time depending on the size of the disk..
I am just a beginner ..please show me the correct direction, if I am making any mistakes..

thank you.
0
 
nobusCommented:
imo, if you deny access to the disk (R/W) it becomes unusable.
i beieve you have an encryption in windows - depending on the OS
you can also use truecrypt :  http://www.truecrypt.org/
or - if you like : bestcrypt   http://www.jetico.com/encryption-bestcrypt/
0
 
KKR_WE_RULEAuthor Commented:
I need to implement it in Delphi..Those apps wont assist in that..
0
 
ThievingSixCommented:
How exactly is your lock implemented? Does it block all user interaction with the computer like Computer Lock? If they can't use the computer they can't copy files.
0
 
KKR_WE_RULEAuthor Commented:
Here is the executable .
Check it for reference.

http://www.mediafire.com/file/znqjiimc2yy/Project1.rar

Open in new window

0
 
nobusCommented:
i can't assist in Delphi
0
 
delphibrCommented:
Hi,

Maybe it is not the better solution, but you can do this through Windows Registry (NoDrives and NoViewOnDrives). Have a look in this:

http://yashirmind.blogspot.com/2009/07/program-block-drive-dengan-delphi-7.html


I hope this is usefull for you!

DelphiBR



0
 
KKR_WE_RULEAuthor Commented:
This should do the trick..Will Try & report back :)
Thanks.
0
 
delphibrCommented:
Let us know if this tip solved your problem. If you have any question about it, just ask ;-)

DelphiBR
0
 
KKR_WE_RULEAuthor Commented:
Yup, the problem is solved :)
Thank you verymuch.. :)
0
 
delphibrCommented:
You are wellcome! :)

Delphi BR
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 7
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now