Re: Block access to removable drives.
Re: Block access to removable drives.
- Subject: Re: Block access to removable drives.
- From: simran charley <email@hidden>
- Date: Thu, 18 Apr 2013 12:46:48 +0530
Hi All,
I have gone to "Mass Storage device driver programming" and some of posts of darwin kernel.
Here I want to Deny Write Access or Complete Access to removable devices.
which is suitable for me Filter Schema or IOBlockStorageDevice ?
Fileter Schema is not supporting to CD/DVD.
I have tried simple IOKit driver with IOBlockStorageDevice Provider class. It is detecting USB storage devices.
Please suggest any documents or example.
Thanks,
Simran.
On Thu, Apr 11, 2013 at 2:15 AM, Kevin Elliott
<email@hidden> wrote:
I'm not sure what your actual product goal is, but based on your description I would not try and do this at the vnode level. To start with, it won't prevent dev nodes from showing up, so the user can still write/read directly from the device. If you're actually trying to prevent devices from appearing completely, I'd do it at the whole media layer in IOKit where you can control dev node publication.
-Kevin
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden