Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Write Only For Volumes

lapaz17lapaz17 Member Posts: 7

Hi, we're asked to make external volumes( such as USBs, hard drives) write only(only some users should see files inside it). In SET_DISK_ATTRIBUTES page (https://docs.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-set_disk_attributes) I can only see DISK_ATTRIBUTE_READ_ONLY. Can we conclude that WRITE_ONLY is not available?

Comments

  • rod_widdowsonrod_widdowson Member - All Emails Posts: 1,179

    Correct.

  • MBond2MBond2 Member Posts: 278

    Some systems support write only media, but not Windows. And that's probably not what you actually want because its uses are quite limited. It would be completely impossible to mount any normal file system for example since they all need to read at least some data from the disk

    presumably this is some kind of security product, so suggesting that you simply set proper ACLs on the files or directories probably does not meet your needs.

    so presumably, what you want to do is filter so that you can fail certain accesses with access denied. how exactly to do that will depend on the parameters of your higher level goal

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 7 Dec 2020 LIVE ONLINE
Internals & Software Drivers 25 Jan 2021 LIVE ONLINE
Developing Minifilters 8 March 2021 LIVE ONLINE