VirtualBox

Changeset 96631 in vbox


Ignore:
Timestamp:
Sep 7, 2022 2:08:12 PM (2 years ago)
Author:
vboxsync
Message:

Add/Nt/Shfl: Some additional info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.cpp

    r96627 r96631  
    981981       *
    982982       * I'm not sure if the intention here is to create a NULL DACL, which grants unrestricted access to the device.
    983        * However, it's somehow now working for Windows XP RTM.
    984        * (See https://docs.microsoft.com/en-us/windows/win32/secauthz/null-dacls-and-empty-dacls for NULL DACL.)
     983       * However, it's somehow now working for Windows XP RTM.  I think an explicit call to RtlSetDaclSecurityDescriptor
     984       * is required for that to work, indicating that a DACL is present but NULL.
     985       * (See https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlsetdaclsecuritydescriptor and
     986       *  https://docs.microsoft.com/en-us/windows/win32/secauthz/null-dacls-and-empty-dacls for NULL DACL details.)
    985987       *
    986        * If the problem is that RESTRICTED should have RWS access, read the descriptor and modify the ACE for RESTRICTED
    987        * to grant them write access.
     988       * If the problem is that RESTRICTED (S-1-5-12) should have RWS access, read the descriptor and modify the ACE
     989       * for RESTRICTED to grant them write access.
    988990       */
    989991                            /* Allow restricted users to use shared folders; works only in XP and Vista. (@@todo hack) */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette