Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
10 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: rshx32.rc
  8. //
  9. //--------------------------------------------------------------------------
  10. #include <windows.h>
  11. #include <ntverp.h>
  12. #define VER_FILETYPE VFT_DLL
  13. #define VER_FILESUBTYPE VFT2_UNKNOWN
  14. #define VER_FILEDESCRIPTION_STR "Security Shell Extension"
  15. #define VER_INTERNALNAME_STR "rshx32.dll"
  16. #define VER_ORIGINALFILENAME_STR "rshx32.dll"
  17. #include <common.ver>
  18. #include "resource.h"
  19. #define RSHX32_INF_FILE "rshx32.inf"
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // REGINST
  23. //
  24. REGINST REGINST DISCARDABLE RSHX32_INF_FILE
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // Dialog
  28. //
  29. IDD_SET_SECURITY_ERROR DIALOGEX 5, 5, 241, 89
  30. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  31. CAPTION "Error Applying Security"
  32. FONT 8, "MS Shell Dlg"
  33. BEGIN
  34. ICON IDI_EXCLAMATION,IDC_STATIC,7,7,21,20
  35. LTEXT "An error occurred applying security information to:",
  36. IDC_MSG1,36,7,198,9
  37. LTEXT "",IDC_FILENAME,36,23,198,9
  38. LTEXT "Unknown error",IDC_ERROR_TXT,36,39,198,18
  39. DEFPUSHBUTTON "&Continue",IDOK,130,71,50,14
  40. PUSHBUTTON "Cancel",IDCANCEL,184,71,50,14
  41. END
  42. /////////////////////////////////////////////////////////////////////////////
  43. //
  44. // Strings
  45. //
  46. STRINGTABLE DISCARDABLE
  47. BEGIN
  48. // Context menu strings
  49. IDS_SECURITY_MENU "Security..."
  50. IDS_SECURITY_HELPSTRING "View or set security information on the selected item."
  51. // Other general strings
  52. IDS_PROPPAGE_TITLE "Security"
  53. IDS_NONE "None"
  54. IDS_MULTISEL_ELLIPSIS ", ..."
  55. /* This message is displayed when we try and do the intersection of a
  56. * multi-selection but one or more SACLs/DACLs are different.
  57. *
  58. * %1 - The base selection
  59. * %2 - The first file/dir that has a different SACL/DACL then %1
  60. */
  61. IDS_BAD_DACL_INTERSECTION "The permissions cannot be displayed because they are different between %2 and %1. Do you wish to reset the permissions on all the selected items?"
  62. IDS_BAD_SACL_INTERSECTION "The audit information cannot be displayed because it is different between %2 and %1. Do you wish to reset the audit information on all the selected items?"
  63. IDS_READ_DIR_ERR "An error occurred attempting to read the directory:"
  64. IDS_FMT_VOLUME_DISPLAY "%1 (%2)"
  65. IDS_FMT_UNKNOWN_ERROR "Unknown error (0x%1!08x!)"
  66. IDS_FMT_WRITE_OWNER_ERR "You do not have permission to read the contents of directory %1. Do you want to replace the directory permissions with permissions granting you Full Control?\n\nAll permissions will be replaced if you press Yes."
  67. IDS_RESET_OWNER_TREE "Taking ownership of:"
  68. IDS_RESET_DACL_TREE "Setting permissions on:"
  69. IDS_RESET_SACL_TREE "Setting audit information on:"
  70. IDS_RESET_SEC_TREE "Setting security information on:"
  71. //
  72. // NTFS Permission strings
  73. //
  74. IDS_NTFS_GENERIC_ALL "Full Control" // RWXDPO
  75. IDS_NTFS_GENERIC_READ "Read" // R (READ_CONTROL | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA | SYNCHRONIZE)
  76. IDS_NTFS_GENERIC_WRITE "Write" // W (READ_CONTROL | FILE_WRITE_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | FILE_APPEND_DATA | SYNCHRONIZE)
  77. IDS_NTFS_GENERIC_EXECUTE "Traverse / Execute" // X (READ_CONTROL | FILE_READ_ATTRIBUTES | FILE_EXECUTE | SYNCHRONIZE)
  78. IDS_NTFS_GENERAL_MODIFY "Modify" // RWXD(RWXD) ("Change")
  79. IDS_NTFS_GENERAL_PUBLISH "Read, Write & Execute" // RWX (WX) ("Add & Read")
  80. IDS_NTFS_GENERAL_DEPOSIT "Write & Execute" // WX (0) ("Add")
  81. IDS_NTFS_GENERAL_READ "Read & Execute" // RX (RX)
  82. IDS_NTFS_GENERAL_LIST "List Folder Contents" // RX (0)
  83. IDS_NTFS_STD_DELETE "Delete" // D (DELETE)
  84. IDS_NTFS_STD_READ_CONTROL "Read Permissions" // (READ_CONTROL)
  85. IDS_NTFS_STD_WRITE_DAC "Change Permissions" // P (WRITE_DAC)
  86. IDS_NTFS_STD_WRITE_OWNER "Take Ownership" // O (WRITE_OWNER)
  87. IDS_NTFS_STD_SYNCHRONIZE "Synchronize" // (SYNCHRONIZE)
  88. IDS_NTFS_FILE_READ_DATA "List Folder / Read Data" // FILE_READ_DATA/FILE_LIST_DIRECTORY
  89. IDS_NTFS_FILE_WRITE_DATA "Create Files / Write Data" // FILE_WRITE_DATA/FILE_ADD_FILE
  90. IDS_NTFS_FILE_APPEND_DATA "Create Folders / Append Data" // FILE_APPEND_DATA/FILE_ADD_SUBDIRECTORY
  91. IDS_NTFS_FILE_READ_EA "Read Extended Attributes" // FILE_READ_EA
  92. IDS_NTFS_FILE_WRITE_EA "Write Extended Attributes" // FILE_WRITE_EA
  93. IDS_NTFS_FILE_EXECUTE "Traverse Folder / Execute File"// FILE_EXECUTE/FILE_TRAVERSE
  94. IDS_NTFS_FILE_DELETE_CHILD "Delete Subfolders and Files" // FILE_DELETE_CHILD
  95. IDS_NTFS_FILE_READ_ATTR "Read Attributes" // FILE_READ_ATTRIBUTES
  96. IDS_NTFS_FILE_WRITE_ATTR "Write Attributes" // FILE_WRITE_ATTRIBUTES
  97. IDS_NTFS_FILE_CREATE_PIPE "Create Named Pipe" // FILE_CREATE_PIPE_INSTANCE (unused)
  98. //
  99. // NTFS Inherit strings
  100. //
  101. IDS_NTFS_FOLDER "This folder only" // <none>
  102. IDS_NTFS_FOLDER_SUBITEMS "This folder, subfolders and files" // OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE
  103. IDS_NTFS_FOLDER_SUBFOLDER "This folder and subfolders" // CONTAINER_INHERIT_ACE
  104. IDS_NTFS_FOLDER_FILE "This folder and files" // OBJECT_INHERIT_ACE
  105. IDS_NTFS_SUBITEMS_ONLY "Subfolders and files only" // INHERIT_ONLY_ACE | OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE
  106. IDS_NTFS_SUBFOLDER_ONLY "Subfolders only" // INHERIT_ONLY_ACE | CONTAINER_INHERIT_ACE
  107. IDS_NTFS_FILE_ONLY "Files only" // INHERIT_ONLY_ACE | OBJECT_INHERIT_ACE
  108. //
  109. // Printer Permission strings
  110. //
  111. IDS_PRINT_PRINT "Print" // PRINTER_EXECUTE
  112. IDS_PRINT_ADMINISTER "Manage Printers" // PRINTER_ALL_ACCESS
  113. IDS_PRINT_ADMINISTER_JOBS "Manage Documents" // JOB_ALL_ACCESS
  114. IDS_PRINT_DELETE "Delete" // DELETE
  115. IDS_PRINT_READ "Read Permissions" // STANDARD_RIGHTS_READ (READ_CONTROL)
  116. IDS_PRINT_CHANGE_PERM "Change Permissions" // WRITE_DAC
  117. IDS_PRINT_CHANGE_OWNER "Take Ownership" // WRITE_OWNER
  118. IDS_PRINT_JOB_ALL "Full Control" // PRINTER_ALL_ACCESS | JOB_ALL_ACCESS
  119. //
  120. // Printer Inherit strings
  121. //
  122. IDS_PRINT_PRINTER "This printer only" // <none>
  123. IDS_PRINT_DOCUMENT_ONLY "Documents only" // INHERIT_ONLY_ACE | OBJECT_INHERIT_ACE
  124. IDS_PRINT_PRINTER_DOCUMENT "This printer and documents" // OBJECT_INHERIT_ACE
  125. IDS_SET_PERM_ON_NETWORK_DRIVE "Remotely setting permissions on the folder at the root of a share removes all inherited permissions from the root folder and all subfolders. To set permissions without removing the inherited permissions, click No and either change the permissions on a child folder or make the change while logged in locally.\n\nDo you want to continue?"
  126. IDS_SET_SACL_ON_NETWORK_DRIVE "Remotely setting auditing entries on the folder at the root of a share removes all inherited auditing entries from the root folder and all subfolders. To set auditing entries without removing the inherited auditing entries, click No and either change the auditing entries on a child folder or make the change while logged in locally.\n\nDo you want to continue?"
  127. IDS_RESET_PERM_FAILED "Could not reset the permissions on all the selected items."
  128. IDS_RESET_AUDITING_FAILED "Could not reset the auditing entries on all the selected items."
  129. IDS_MULTIPLE_SELECTION_READ_ERROR "The security settings are not available for %1 because the following problem occurred: %2 De-select %1, and then try again."
  130. IDS_MULTIPLE_SELECTION_READ_ERROR_1 "The security settings are not available for %1. De-select %1, and then try again."
  131. IDS_PERMISSION_PROPOGATION_CANCEL "Stopping the propagation of permission settings leads to an inconsistent state, in which some objects have the settings but others don't. If you made the change by mistake, you should apply the correct change immediately to achieve a consistent state."
  132. IDS_AUDITING_PROPOGATION_CANCEL "Stopping the propagation of auditing settings leads to an inconsistent state, in which some objects have the settings but others don't. If you made the change by mistake, you should apply the correct change immediately to achieve a consistent state."
  133. IDS_OWNER_PROPOGATION_CANCEL "Stopping the propagation of the owner leads to an inconsistent state, in which some objects have the setting but others don't. If you made the change by mistake, you should apply the correct change immediately to achieve a consistent state."
  134. IDS_ACL_ON_SYSTEMROOT "You are about to change the permission settings on the root directory of the startup disk, which can result in unexpected access problems and reduce security. Do you want to continue?"
  135. IDS_ACL_ON_UNDER_SYSTEM_DRIVE "You are about to change the permission settings on system folders, which can result in unexpected access problems and reduce security. Do you want to continue?"
  136. END