Security descriptor

Security descriptors are data structures of security information for securable Windows objects, that is objects that can be identified by a unique name. Security descriptors can be associated with any named objects, including files, folders, shares, registry keys, processes, threads, named pipes, services, job objects and other resources.[1]

Security descriptors contain discretionary access control lists (DACLs) that contain access control entries (ACEs) that grant and deny access to trustees such as users or groups. They also contain a system access control list (SACLs) that control auditing of object access.[2][3] ACEs may be explicitly applied to an object or inherited from a parent object. The order of ACEs in an ACL is important, with access denied ACEs appearing higher in the order than ACEs that grant access. Security descriptors also contain the object owner.

Mandatory Integrity Control is implemented through a new type of ACE on a security descriptor.[4]

Files and folder permissions can be edited by various tools including Windows Explorer, WMI, command line tools like Cacls, XCacls, ICacls, SubInACL,[5] the freeware Win32 console FILEACL,[6][7] the free software utility SetACL, and other utilities. To edit a security descriptor, a user needs WRITE_DAC permissions to the object,[8] a permission that is usually delegated by default to administrators and the object's owner.

Permissions in NTFS

The following table summarizes NTFS permissions and their roles (in individual rows.) The table exposes the following information:[9][10][11]

  • Permission code: Each access control entry (ACE) specifies its permission with binary code. There are 14 codes (12 in older systems.)
  • Meaning: Each permission code has a meaning, depending on whether it is applied to a file or a folder. For example, code 0x01 on a file indicates the permission to read the file, while on a folder indicates the permission to list the content of the folder. Knowing the meaning alone, however, is useless. An ACE must also specify to whom the permission applies, and whether that permission is granted or denied.
  • Included in: In addition to individual permissions, an ACE can specify special permissions known as "generic access rights." These special permissions are equivalents of a number individual permissions. For example, GENERIC_READ (or GR) is the equivalent of "Read data", "Read attributes", "Read extended attributes", "Read permissions", and "Synchronize". Because it makes sense to ask for these five at the same time, requesting "GENERIC_READ" is more convenient.
  • Alias: The two Windows command-line utilities (icacls and cacls) have their own aliases for these permissions.
Permission
code
Meaning Included in Alias
For files For folders R[a] E[b] W[c] A[d] M[e] In icacls In cacls
0x01 Read data List folder contents Yes Yes Yes Yes RD FILE_READ_DATA
0x80 Read attributes Yes Yes Yes Yes RA FILE_READ_ATTRIBUTES
0x08 Read extended attributes Yes Yes Yes Yes REA FILE_READ_EA
0x20 Execute file Traverse folder Yes Yes Yes X FILE_EXECUTE
0x20000 Read permissions Yes Yes Yes Yes Yes RC READ_CONTROL
0x100000 Synchronize Yes Yes Yes Yes Yes S SYNCHRONIZE
0x02 Write data Create files Yes Yes Yes WD FILE_WRITE_DATA
0x04 Append data Create folders Yes Yes Yes AD FILE_APPEND_D
0x100 Write attributes Yes Yes Yes WA FILE_WRITE_ATTRIBUTES
0x10 Write extended attributes Yes Yes Yes WEA FILE_WRITE_EA
0x10000 Delete (or rename[12]) Yes Yes DE DELETE
0x40000 Change permissions Yes WDAC WRITE_DAC
0x80000 Take ownership Yes WO WRITE_OWNER
0x40 Delete subfolders and files Yes DC FILE_DELETE_CHILD

Most of these permissions are self-explanatory, except the following:

  1. Renaming a file requires the "Delete" permission.[12]
  2. File Explorer doesn't show "Synchronize" and always sets it. Multi-threaded apps like File Explorer and Windows Command Prompt need the "Synchronize" permission to be able to work with files and folders.[13]


Footnotes

  1. ^ GENERIC_READ, known as "Read" in File Explorer
  2. ^ GENERIC_EXECUTE, known as "Read & Execute" in File Explorer
  3. ^ GENERIC_WRITE, known as "Write" in File Explorer
  4. ^ GENERIC_ALL, known as "Full Control" in File Explorer
  5. ^ Known as "Modify" in File Explorer

See also

References

  1. ^ "Securable Objects". Microsoft. 2008-04-24. Retrieved 2008-07-16.
  2. ^ "What Are Security Descriptors and Access Control Lists?". Microsoft. Archived from the original on 2008-05-05. Retrieved 2008-07-16.
  3. ^ "DACLs and ACEs". Microsoft. 2008-04-24. Retrieved 2008-07-16.
  4. ^ https://msdn.microsoft.com/en-us/library/bb625957.aspx What is the Windows Integrity Mechanism?
  5. ^ SubInACL home page
  6. ^ FILEACL home page Archived 2012-08-29 at the Wayback Machine
  7. ^ "FILEACL v3.0.1.6". Microsoft. 2004-03-23. Archived from the original on April 16, 2008. Retrieved 2008-07-25.
  8. ^ "ACCESS_MASK Data Type". Microsoft. 2008-04-24. Retrieved 2008-07-23.
  9. ^ "How Permissions Work". Microsoft. 2013-06-21. Retrieved 2017-11-24.
  10. ^ Richard Civil. "How IT works NTFS Permissions, Part 2". Microsoft. Retrieved 2017-11-24.
  11. ^ Richard Civil. "How IT works NTFS Permissions". Microsoft. Retrieved 2017-11-24.
  12. ^ a b Chen, Raymond (22 October 2021). "Renaming a file is a multi-step process, only one of which is changing the name of the file". The Old New Thing. Microsoft. Opening with DELETE permission grants permission to rename the file. The required permission is DELETE because the old name is being deleted.
  13. ^ Chen, Raymond (18 November 2019). "I set the same ACL with the GUI and with icacls, yet the results are different". The Old New Thing. Microsoft.

Read other articles:

Dalam nama Korean ini, nama keluarganya adalah Kim. Kim Ji-hyunInformasi latar belakangLahir16 Agustus 1972 (umur 51)Korea SelatanPekerjaanPenyanyiPemeranTahun aktif1994–sekarangArtis terkaitRoo'raNama KoreaHangul김지현 Alih AksaraGim Ji-hyeonMcCune–ReischauerKim Chihyŏn Kim Ji-hyun (Korea: 김지현code: ko is deprecated ; lahir 16 Agustus 1972)[1] adalah penyanyi dan pemeran Korea Selatan. Ia memulai debut pada tahun 1994 sebagai anggota grup musik Roo'ra,[2] ya...

 

 

Disambiguazione – Automobili rimanda qui. Se stai cercando l'album di Lucio Dalla pubblicato nel 1976, vedi Automobili (album). Uno dei primi modelli di automobile, condotto da Jules-Albert De Dion, nel 1882 Un'automobile indica un veicolo dotato di ruote, ideato per il trasporto di un certo numero persone e mossa da un motore a combustione interna o da motori elettrici. Nel linguaggio comune, è spesso utilizzato come sinonimia di autovettura o di macchina. Il termin...

 

 

artikel ini perlu dirapikan agar memenuhi standar Wikipedia. Tidak ada alasan yang diberikan. Silakan kembangkan artikel ini semampu Anda. Merapikan artikel dapat dilakukan dengan wikifikasi atau membagi artikel ke paragraf-paragraf. Jika sudah dirapikan, silakan hapus templat ini. (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) Levi Strauss & Co.Sebuah toko Levi's di Times SquareJenisPerusahaan publikKode emitenNYSE: LEVI (Class A)IndustriTekstilDidirikan1 Mei 1853; 1...

الانسحاب السوفييتي من أفغانستان جزء من الحرب السوفيتية في أفغانستان    التاريخ وسيط property غير متوفر. بداية 15 مايو 1988  نهاية 15 فبراير 1989  الموقع جمهورية أفغانستان الديمقراطية  تعديل مصدري - تعديل   بدأ الانسحاب النهائي والكامل للقوات المقاتلة السوفيتية من أ...

 

 

Artikel ini perlu diwikifikasi agar memenuhi standar kualitas Wikipedia. Anda dapat memberikan bantuan berupa penambahan pranala dalam, atau dengan merapikan tata letak dari artikel ini. Untuk keterangan lebih lanjut, klik [tampil] di bagian kanan. Mengganti markah HTML dengan markah wiki bila dimungkinkan. Tambahkan pranala wiki. Bila dirasa perlu, buatlah pautan ke artikel wiki lainnya dengan cara menambahkan [[ dan ]] pada kata yang bersangkutan (lihat WP:LINK untuk keterangan lebih lanjut...

 

 

ليونس فالس الإحداثيات 43°37′01″N 75°21′42″W / 43.6169°N 75.3617°W / 43.6169; -75.3617   [1] تقسيم إداري  البلد الولايات المتحدة[2]  التقسيم الأعلى مقاطعة لويس  خصائص جغرافية  المساحة 2.774863 كيلومتر مربع2.754512 كيلومتر مربع (1 أبريل 2010)  ارتفاع 253 متر  عدد السكان ...

Alfred SauvyAlfred Sauvy in 1983.Lahir31 October 1898Villeneuve-de-la-Raho Meninggal30 October 1990Resting placeMontalba-le-Château PekerjaanProfesor Tempat kerjaCollège de France (1959–1969) PenghargaanMontyon Science Award (statistika, 1967)  Alfred Sauvy adalah salah seorang sejarawan, antropolog, dan ahli demografi berkebangsaaan Prancis. Salah satu kontribusinya adalah penciptaan istilah Dunia Ketiga, yakni negara-negara yang bukan termasuk Dunia Per...

 

 

Geraldine ChaplinChaplin pada tahun 2016LahirGeraldine Leigh Chaplin31 Juli 1944 (umur 79)Santa Monica, California,  Amerika SerikatPekerjaan Aktris Tahun aktif1952–sekarangSuami/istriPatricio Castilla ​(m. 2006)​PasanganCarlos Saura (1967–1979)Anak2, termasuk Oona Castilla ChaplinOrang tuaCharlie Chaplin Oona O'Neill Geraldine Leigh Chaplin (kelahiran 31 Juli 1944) adalah seorang aktris Inggris kelahiran Amerika dan putri dari Charlie Chaplin ...

 

 

American ridesharing and delivery company For other uses, see Über and Uber (disambiguation). Uber Technologies, Inc.Headquarters in Mission Bay, San FranciscoFormerlyUbercab (2009–2011)Company typePublicTraded asNYSE: UBERDJTA componentS&P 500 componentIndustryTransportationMobility as a serviceFoundedMarch 2009; 15 years ago (2009-03)FoundersGarrett CampTravis KalanickHeadquartersSan Francisco, California, U.S.Area served70 countries and 10,500 cities worl...

1965–1973 anti-war movement Opposition to the Vietnam War redirects here. For opposition to Australian involvement, see Opposition to Australian involvement in the Vietnam War. Opposition to United States involvement in the Vietnam WarPart of counterculture of the 1960s, the Vietnam War, and the Cold WarThe March on the Pentagon on October 21, 1967Date28 January 1965 – 29 March 1973Caused byAmerican involvement in VietnamGoalsEnd of military conscriptionWithdrawal of troops from VietnamRe...

 

 

Gran Hotel Bali di Alicante, Spanyol Gran Hotel Bali merupakan sebuah hotel berbintang 4 di Benidorm, provinsi Alicante, Spanyol. Dengan tinggi 186 meter (210 meter hingga ujungnya), menjadi hotel tertinggi di Eropa dan salah satu pencakar langit tertinggi di Eropa. Merupakan bangunan tertinggi di Spanyol mengalahkan Torre Picasso tahun 2001, hingga November 2006 dikalahkan oleh Torre Espacio (dan kemudian tiga menara dalam pembangunan di Cuatro Torres Business Area). Hotel ini, merupakan kum...

 

 

Questa voce sull'argomento strade degli Stati Uniti d'America è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Interstate 59LocalizzazioneStato Stati Uniti Stati federati Louisiana Alabama Georgia DatiClassificazioneAutostrada InizioSlidell FineWildwood (Georgia) Lunghezza716,53 km DirezioneSud-Nord Data aperturaAnni 1960 PercorsoLocalità serviteBirmingham Principali intersezioni I-10 e I-12 a Slidell, LA I-24 a Wildwood, GA Manual...

  提示:此条目页的主题不是中國—瑞士關係。   關於中華民國與「瑞」字國家的外交關係,詳見中瑞關係 (消歧義)。 中華民國—瑞士關係 中華民國 瑞士 代表機構駐瑞士台北文化經濟代表團瑞士商務辦事處代表代表 黃偉峰 大使[註 1][4]處長 陶方婭[5]Mrs. Claudia Fontana Tobiassen 中華民國—瑞士關係(德語:Schweizerische–republik china Beziehungen、法�...

 

 

本條目存在以下問題,請協助改善本條目或在討論頁針對議題發表看法。 此條目可参照英語維基百科相應條目来扩充。 (2022年12月23日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记{{Translated page}}标签。 此條目需要补充更多来源。 (2022年...

 

 

قاعة فنلنديا في هلسنكي. عمارة فنلندا لديها تاريخ ملحوظ يمتد على مدى 800 سنة [1] وقد ساهمت العمارة في العديد من الأساليب دولياً، مثل الحداثة الشمال أوروبية، من خلال أعمال ألفار آلتو.[2] ترتبط الإنجازات المعمار الفنلندي عموماً بالعمارة الحديثة، وذلك لأن أقل من 13٪ من الم�...

حافظ آبرو معلومات شخصية الميلاد قيمة مجهولةهراة الوفاة 1430زنجان الحياة العملية المهنة مؤرخ،  وجغرافي  تعديل مصدري - تعديل   حافظ آبرو (؟ - 833هـ، ؟ - 1429م). هو شهاب الدين عبد اللطيف بن لطف الله الخوافي. كاتب قديم في مجال علم الجغرافيا.[1] مكان ولادته وُلد في هراة الخراس�...

 

 

Butinoline Names Preferred IUPAC name 1,1-Diphenyl-4-(pyrrolidin-1-yl)but-2-yn-1-ol Identifiers CAS Number 968-63-8 3D model (JSmol) Interactive image ChEMBL ChEMBL1442660 ChemSpider 62168 PubChem CID 68943 UNII G216926E9T CompTox Dashboard (EPA) DTXSID3046295 InChI InChI=1S/C20H21NO/c22-20(18-10-3-1-4-11-18,19-12-5-2-6-13-19)14-9-17-21-15-7-8-16-21/h1-6,10-13,22H,7-8,15-17H2Key: LWPXJPFOEPMIRG-UHFFFAOYSA-NInChI=1/C20H21NO/c22-20(18-10-3-1-4-11-18,19-12-5-2-6-13-19)14-9-17-21-15-7-8-16-...

 

 

Taiwanese information technology company MSi redirects here. For other uses, see MSI (disambiguation). This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article may need to be rewritten to comply with Wikipedia's quality standards. You can help. The talk page may contain suggestions. (March 2024) This article needs additional citations for verification. Please help improve this article...

This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: Temple Owls women's basketball – news · newspapers · books · scholar · JSTOR (January 2017) (Learn how and when to remove this message) College basketball team Temple Owls women's basketball 2023–24 Temple Owls women's basketball team UniversityTemple UniversityHead coachDiane Richardson (2nd season)Conf...

 

 

Location of Hunterdon County in New Jersey List of the National Register of Historic Places listings in Hunterdon County, New Jersey Contents: Counties and communities in New Jersey Atlantic – Bergen (Closter, Franklin Lakes, Ridgewood, Saddle River, Wyckoff) – Burlington – Camden – Cape May – Cumberland – Essex – Gloucester – Hudson – Hunterdon – Mercer – Middlesex – Monmouth – Morris – Ocean – Passaic – Salem – Somerset – Sussex – Union – Warren Map ...