Link to home
Start Free TrialLog in
Avatar of KKR_WE_RULE
KKR_WE_RULE

asked on

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.
Avatar of ThievingSix
ThievingSix
Flag of United States of America image

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
Avatar of KKR_WE_RULE
KKR_WE_RULE

ASKER

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 . :)
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?
prevent attempt of file stealing by the intruder.
is encrypting the disk not a better method then ?
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.
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/
I need to implement it in Delphi..Those apps wont assist in that..
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.
Here is the executable .
Check it for reference.

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

Open in new window

i can't assist in Delphi
ASKER CERTIFIED SOLUTION
Avatar of delphibr
delphibr
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This should do the trick..Will Try & report back :)
Thanks.
Let us know if this tip solved your problem. If you have any question about it, just ask ;-)

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

Delphi BR