VirtualBox

Changeset 105087 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Jul 1, 2024 11:27:59 PM (5 months ago)
Author:
vboxsync
Message:

doc/manual,include/VBox,Frontends/VBoxManage,HostServices/SharedFolders,
Main/{include,SharedFolder,Console,Machine,VirtualBox.xidl}: Add a
new attribute to ISharedFolder for specifying a symbolic link creation
policy to restrict the source pathname when creating symbolic links
within a guest. The symbolic link policies are represented by a new
enumeration of type SymlinkPolicy_T which includes values for no
restrictions ('any'), symlink sources only within the subtree of the
share ('subtree'), symlink sources as any relative path ('relative'),
and no symlinks allowed ('forbidden'). The symlink policy can only be
applied to permanent shared folders at this stage. bugref:10619

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r105018 r105087  
    657657      <desc>Settings version "1.20", written by VirtualBox 7.1.x.</desc>
    658658      <!--
    659           Adds VM platform support: Non-platform-specific
    660           settings were moved to the new Platform element, which now contains
    661           the platform architecture for this VM. x86-specific
    662           settings were moved from Machine to a new, dedicated Platform/x86 element.
    663           BIOSSettings were renamed to FirmwareSettings. ARM-specific settings
    664           were added to a new, dedicated Platform/ARM element. This settings
    665           version only will be written if the ARM platform architecture is being
    666           selected. Only affects the machine settings (not main configuration
    667           settings).
     659        - Machine changes:
     660          + Adds VM platform support: Non-platform-specific
     661            settings were moved to the new Platform element, which now contains
     662            the platform architecture for this VM. x86-specific
     663            settings were moved from Machine to a new, dedicated Platform/x86 element.
     664            BIOSSettings were renamed to FirmwareSettings. ARM-specific settings
     665            were added to a new, dedicated Platform/ARM element. This settings
     666            version only will be written if the ARM platform architecture is being
     667            selected. Only affects the machine settings (not main configuration
     668            settings).
     669          + Adds support for Shared Folder symbolic link configuration. (Machine
     670            settings only).
    668671      -->
    669672    </const>
     
    2442924432  <interface
    2443024433    name="ISharedFolder" extends="$unknown"
    24431     uuid="9622225a-5409-414b-bd16-77df7ba3451e"
     24434    uuid="0b108b8c-62e0-4e06-9dfa-2f1a2ad70774"
    2443224435    wsmap="managed"
    2443324436    rest="managed"
     
    2454024543        failure and should normally describe a reason of the failure (for
    2454124544        example, a file read error).
     24545      </desc>
     24546    </attribute>
     24547
     24548    <attribute name="symlinkPolicy" type="SymlinkPolicy">
     24549      <desc>
     24550        The security policy for allowing guest VMs to create symbolic links
     24551        within a Shared Folder.
    2454224552      </desc>
    2454324553    </attribute>
     
    3020530215</enum>
    3020630216
     30217  <enum
     30218    name="SymlinkPolicy"
     30219    uuid="a818472e-215d-4279-8af8-eac4c0517bcc"
     30220    >
     30221    <desc>Shared Folder Symbolic Link Security Policies</desc>
     30222    <const name="None"                       value="0">
     30223      <desc>No symlink policy set (never used by the API).</desc>
     30224    </const>
     30225    <const name="Forbidden"                  value="1">
     30226      <desc>Users in the guest VM are not able to create symbolic links inside the Shared Folder.</desc>
     30227    </const>
     30228    <const name="AllowedInShareSubtree"      value="2">
     30229      <desc>Users in the guest VM are allowed to create symbolic links within the Shared Folder so long
     30230          as the target remains in the Shared Folder or within the subtree of the Shared Folder.
     30231      </desc>
     30232    </const>
     30233    <const name="AllowedToRelativeTargets"   value="3">
     30234      <desc>Users in the guest VM are allowed to create symbolic links within the Shared Folder to
     30235          targets within the Shared Folder and its subtree as well as to relative targets (../) outside of
     30236          the Shared Folder.
     30237      </desc>
     30238    </const>
     30239    <const name="AllowedToAnyTarget"         value="4">
     30240      <desc>Users in the guest VM are allowed to create symbolic links within the Shared Folder and
     30241          its subtree as well as to other targets via either relative pathnames or absolute pathnames.
     30242      </desc>
     30243    </const>
     30244</enum>
    3020730245
    3020830246  <interface name="ICloudNetworkGatewayInfo" extends="$unknown"
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