hello
i just need some advice and suggestions
the program(will be using vb.net & matlab) is about security software for flash drives where the user is required to say something(eg. a password) that will open or explore the device. the thing is when the flash drive is plugged to the usb port the program should pop up, and the access using the Windows explorer should be blocked(or something like that).i have read that autoruns are usually blocked by the anti-virus. and the exe can be portable as long as the computer has .net on it.any thoughts ?

thnx,

No guarranties here, but I think you are in the realm where you would need to write this as windows service.

You could use WMI to detect the addition of a USB Drive.

You would then need to have the service take excluse control of the drive. On first glance, this looks like a way to do that.
FSCTL_LOCK_VOLUME

Then presumably you would prompt the user to speak your password. using .Net speach recognition.

Use may fid this video helpful on allowing the service to interact with the user.

http://channel9.msdn.com/Blogs/Charles/Session-0-Changes-and-Vista-Compatibility-for-Services-running-as-Interactive-with-Desktop

I hope this helps.

thanks! i'll consider these

i'm still new to matlab so i guess this'll take some time

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.