Click here to Skip to main content
15,867,851 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How does the system distinguish between a usb device provided by the company (authorized) and another one which is not authorized?
All systems running on windows and server on windows 2008.Please suggest any technique? help?
Posted
Updated 2-Jan-11 18:07pm
v2

1 solution

Use something like this:
Public-key cryptography[^]

Save the public key to a file on the usb device.

This will not prevent users from reading information from any usb deveice they plug into the machine. If that's your goal you have to reach for the Windows Driver Kit (WDK)[^]

Regards
Espen Harlinn
 
Share this answer
 
Comments
Sandeep Mewara 3-Jan-11 3:40am    
Comment from OP:

thnx a lot ....Espen Harlinn
Can you pls elaborate the process of public key cryptography and how would that help.....i am actually in my training and not completely aware of dynamics of security.....
Espen Harlinn 3-Jan-11 3:47am    
Take a look at this: http://en.wikipedia.org/wiki/Public_key_infrastructure

Try this on google:http://www.google.co.uk/search?hl=en&q=csharp+public+key&meta=&rlz=1I7ADFA_en
anirban_sinha 3-Jan-11 4:20am    
Thnx a ton.....for all yuor help and i appologise for disturbing you with these questions,but i hav read all the articles you had provided... it seems to provide infotmation on public key cryptography.... but i am still unable to understand how would that help in the blocking of usb drives....
now i do understand that you had said that the public key is to be saved in the usb drive and the pvt key in the hard disk...and the combination of the two would authenticate the device....
am i on the right track????
Espen Harlinn 3-Jan-11 5:25am    
As I mentioned this will not block users from inserting any USB device, it only a possible solution on how to validate the device. To effectively block it you will probably have to create a fileter for the devices using the Windows Driver Kit. You then can use the public key during validation ... It's not a trivial project

Best of luck
Espen Harlinn 3-Jan-11 6:09am    
As I understand it this application ,http://www.munishluther.com/2010/08/31/usb-drive-guard, logs but does not prevent users from inserting and accessing unauthorized devices. If I understood you correctly you whant to prevent access to these devices ...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900