Source code of Windows XP (NT5)
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.

149 lines
7.6 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. #if(_WIN32_WINNT >= 0x0500)
  20. #define RSHX32_INF_FILE "rshx32.inf"
  21. #else
  22. #define RSHX32_INF_FILE "rshx32_5.inf"
  23. #endif
  24. /////////////////////////////////////////////////////////////////////////////
  25. //
  26. // REGINST
  27. //
  28. REGINST REGINST DISCARDABLE RSHX32_INF_FILE
  29. /////////////////////////////////////////////////////////////////////////////
  30. //
  31. // Dialog
  32. //
  33. IDD_SET_SECURITY_ERROR DIALOGEX 5, 5, 241, 89
  34. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  35. CAPTION "Error Applying Security"
  36. FONT 8, "MS Shell Dlg"
  37. BEGIN
  38. ICON IDI_EXCLAMATION,IDC_STATIC,7,7,21,20
  39. LTEXT "An error occurred applying security information to:",
  40. IDC_MSG1,36,7,198,9
  41. LTEXT "",IDC_FILENAME,36,23,198,9
  42. LTEXT "Unknown error",IDC_ERROR_TXT,36,39,198,18
  43. DEFPUSHBUTTON "&Continue",IDOK,130,71,50,14
  44. PUSHBUTTON "Cancel",IDCANCEL,184,71,50,14
  45. END
  46. /////////////////////////////////////////////////////////////////////////////
  47. //
  48. // Strings
  49. //
  50. STRINGTABLE DISCARDABLE
  51. BEGIN
  52. // Context menu strings
  53. IDS_SECURITY_MENU "Security..."
  54. IDS_SECURITY_HELPSTRING "View or set security information on the selected item."
  55. // Other general strings
  56. IDS_PROPPAGE_TITLE "Security"
  57. IDS_NONE "None"
  58. IDS_MULTISEL_ELLIPSIS ", ..."
  59. /* This message is displayed when we try and do the intersection of a
  60. * multi-selection but one or more SACLs/DACLs are different.
  61. *
  62. * %1 - The base selection
  63. * %2 - The first file/dir that has a different SACL/DACL then %1
  64. */
  65. 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?"
  66. 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?"
  67. IDS_READ_DIR_ERR "An error occurred attempting to read the directory:"
  68. IDS_FMT_VOLUME_DISPLAY "%1 (%2)"
  69. IDS_FMT_UNKNOWN_ERROR "Unknown error (0x%1!08x!)"
  70. 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."
  71. IDS_RESET_OWNER_TREE "Taking ownership of:"
  72. IDS_RESET_DACL_TREE "Setting permissions on:"
  73. IDS_RESET_SACL_TREE "Setting audit information on:"
  74. IDS_RESET_SEC_TREE "Setting security information on:"
  75. //
  76. // NTFS Permission strings
  77. //
  78. IDS_NTFS_GENERIC_ALL "Full Control" // RWXDPO
  79. IDS_NTFS_GENERIC_READ "Read" // R (READ_CONTROL | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA | SYNCHRONIZE)
  80. IDS_NTFS_GENERIC_WRITE "Write" // W (READ_CONTROL | FILE_WRITE_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | FILE_APPEND_DATA | SYNCHRONIZE)
  81. IDS_NTFS_GENERIC_EXECUTE "Traverse / Execute" // X (READ_CONTROL | FILE_READ_ATTRIBUTES | FILE_EXECUTE | SYNCHRONIZE)
  82. IDS_NTFS_GENERAL_MODIFY "Modify" // RWXD(RWXD) ("Change")
  83. IDS_NTFS_GENERAL_PUBLISH "Read, Write & Execute" // RWX (WX) ("Add & Read")
  84. IDS_NTFS_GENERAL_DEPOSIT "Write & Execute" // WX (0) ("Add")
  85. IDS_NTFS_GENERAL_READ "Read & Execute" // RX (RX)
  86. IDS_NTFS_GENERAL_LIST "List Folder Contents" // RX (0)
  87. IDS_NTFS_STD_DELETE "Delete" // D (DELETE)
  88. IDS_NTFS_STD_READ_CONTROL "Read Permissions" // (READ_CONTROL)
  89. IDS_NTFS_STD_WRITE_DAC "Change Permissions" // P (WRITE_DAC)
  90. IDS_NTFS_STD_WRITE_OWNER "Take Ownership" // O (WRITE_OWNER)
  91. IDS_NTFS_STD_SYNCHRONIZE "Synchronize" // (SYNCHRONIZE)
  92. IDS_NTFS_FILE_READ_DATA "List Folder / Read Data" // FILE_READ_DATA/FILE_LIST_DIRECTORY
  93. IDS_NTFS_FILE_WRITE_DATA "Create Files / Write Data" // FILE_WRITE_DATA/FILE_ADD_FILE
  94. IDS_NTFS_FILE_APPEND_DATA "Create Folders / Append Data" // FILE_APPEND_DATA/FILE_ADD_SUBDIRECTORY
  95. IDS_NTFS_FILE_READ_EA "Read Extended Attributes" // FILE_READ_EA
  96. IDS_NTFS_FILE_WRITE_EA "Write Extended Attributes" // FILE_WRITE_EA
  97. IDS_NTFS_FILE_EXECUTE "Traverse Folder / Execute File"// FILE_EXECUTE/FILE_TRAVERSE
  98. IDS_NTFS_FILE_DELETE_CHILD "Delete Subfolders and Files" // FILE_DELETE_CHILD
  99. IDS_NTFS_FILE_READ_ATTR "Read Attributes" // FILE_READ_ATTRIBUTES
  100. IDS_NTFS_FILE_WRITE_ATTR "Write Attributes" // FILE_WRITE_ATTRIBUTES
  101. IDS_NTFS_FILE_CREATE_PIPE "Create Named Pipe" // FILE_CREATE_PIPE_INSTANCE (unused)
  102. //
  103. // NTFS Inherit strings
  104. //
  105. IDS_NTFS_FOLDER "This folder only" // <none>
  106. IDS_NTFS_FOLDER_SUBITEMS "This folder, subfolders and files" // OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE
  107. IDS_NTFS_FOLDER_SUBFOLDER "This folder and subfolders" // CONTAINER_INHERIT_ACE
  108. IDS_NTFS_FOLDER_FILE "This folder and files" // OBJECT_INHERIT_ACE
  109. IDS_NTFS_SUBITEMS_ONLY "Subfolders and files only" // INHERIT_ONLY_ACE | OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE
  110. IDS_NTFS_SUBFOLDER_ONLY "Subfolders only" // INHERIT_ONLY_ACE | CONTAINER_INHERIT_ACE
  111. IDS_NTFS_FILE_ONLY "Files only" // INHERIT_ONLY_ACE | OBJECT_INHERIT_ACE
  112. //
  113. // Printer Permission strings
  114. //
  115. IDS_PRINT_PRINT "Print" // PRINTER_EXECUTE
  116. IDS_PRINT_ADMINISTER "Manage Printers" // PRINTER_ALL_ACCESS
  117. IDS_PRINT_ADMINISTER_JOBS "Manage Documents" // JOB_ALL_ACCESS
  118. IDS_PRINT_DELETE "Delete" // DELETE
  119. IDS_PRINT_READ "Read Permissions" // STANDARD_RIGHTS_READ (READ_CONTROL)
  120. IDS_PRINT_CHANGE_PERM "Change Permissions" // WRITE_DAC
  121. IDS_PRINT_CHANGE_OWNER "Take Ownership" // WRITE_OWNER
  122. IDS_PRINT_JOB_ALL "Full Control" // PRINTER_ALL_ACCESS | JOB_ALL_ACCESS
  123. //
  124. // Printer Inherit strings
  125. //
  126. IDS_PRINT_PRINTER "This printer only" // <none>
  127. IDS_PRINT_DOCUMENT_ONLY "Documents only" // INHERIT_ONLY_ACE | OBJECT_INHERIT_ACE
  128. IDS_PRINT_PRINTER_DOCUMENT "This printer and documents" // OBJECT_INHERIT_ACE
  129. END