none
Change handle access mask RRS feed

  • Question

  • Hello,

    I want to control access rights of specific handle.
    How to do this from ring0 driver?
    What is the best way?

    -mrutyunjaya

    Monday, July 23, 2018 9:26 AM

Answers

  • Typically what is done is in a mini-filter Create callback you restrict the access before you send the request down to the file system. 


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    • Marked as answer by MRUTYUNJAYA.M Friday, August 24, 2018 5:38 PM
    Sunday, July 29, 2018 12:32 PM

All replies

  • This is a very open ended question, if this is something like a handle to a file in a file system you are filtering this is doable, just modify the rights as part of the create request.   If you are asking for something else, then you need to explain your model a little more.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, July 23, 2018 11:14 AM
  • Yes, I want to control access rights for newly created handles.How can I do that ? Could you please point out to any msdn link  ?

    -Mrutyunjaya

    Sunday, July 29, 2018 11:38 AM
  • Typically what is done is in a mini-filter Create callback you restrict the access before you send the request down to the file system. 


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    • Marked as answer by MRUTYUNJAYA.M Friday, August 24, 2018 5:38 PM
    Sunday, July 29, 2018 12:32 PM