Deny running .exe from floppy drive

  • Thread starter Thread starter Colin
  • Start date Start date
Sure... on application launch, you cand do it. Check for the Application.StartupPath. If the that is equal to the floppy drive, then you can "exit application". How do you get the floppy drive path, I am not sure at the top of my head, but I am sure there are functions to do it. You can check the Help Files with MSDN.

Vijay
 
I would like to prevent the running of all .exe's from the floppy. I assume
my application would need to be running as a service in the background.
What should the service be monitoring.

VJ said:
Sure... on application launch, you cand do it. Check for the
Application.StartupPath. If the that is equal to the floppy drive, then you
can "exit application". How do you get the floppy drive path, I am not sure
at the top of my head, but I am sure there are functions to do it. You can
check the Help Files with MSDN.
 
* "Colin said:
I would like to prevent the running of all .exe's from the floppy. I assume
my application would need to be running as a service in the background.
What should the service be monitoring.

I would ask this in a Windows group because the problem is not related
to VB.NET.
 
Back
Top