<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx</link><description>One of the core data structures in the NT security infrastructure is the security identifier, or SID. NT uses two data types to represent the SID, a PSID, which is just an alias for VOID *, and a SID, which is a more complicated structure (declared in</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224088</link><pubDate>Wed, 01 Sep 2004 17:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224088</guid><dc:creator>David Candy</dc:creator><description>What about some, any, documentation on the restricted account. There is one MS article that mentions it, in relation to the RunAs dialog, that says it prevents registry writing. In a MS list of well known SIDS it is listed but that is all.&lt;br&gt;&lt;br&gt;One cannot get effective permissions on files or registry keys for this Restricted user/group. XP's dialogs has not heard of Restricted so ...&lt;br&gt;&lt;br&gt;Also Restricted in not recognised by User Rights either.</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224094</link><pubDate>Wed, 01 Sep 2004 17:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224094</guid><dc:creator>Larry Osterman</dc:creator><description>Do you mean the RestrictedCode user?  Well, if you search MSDN for SECURITY_RESTRICTED_CODE_RID, you'll find:&lt;br&gt;&lt;a target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/sid_strings.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/sid_strings.asp&lt;/a&gt;&lt;br&gt;&lt;br&gt;Which has a pointer to:&lt;br&gt;&lt;a target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/createrestrictedtoken.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/createrestrictedtoken.asp&lt;/a&gt;&lt;br&gt;&lt;br&gt;To me, this implies that the restricted code group (S-1-5-C) is added to the token that is created by the CreateRestrictedToken API.&lt;br&gt;&lt;br&gt;This allows you to put an ACE in an ACL that would deny access to all restricted tokens.&lt;br&gt;</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224119</link><pubDate>Wed, 01 Sep 2004 18:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224119</guid><dc:creator>David Candy</dc:creator><description>Lovely gobblygook that. It still seems that noone actually knows what this new prominent feature does exactly.&lt;br&gt;&lt;br&gt;I ran a program with restricted and it errored. I can't think of a way to debug it while restricted (I'm not going to even attempt to start the VB IDE while restricted).&lt;br&gt;&lt;br&gt;But this raises another point. How many types of error dialogs are there in XP. Because I've just seen a new one - it's very polite but has no details at all and Alt + D doesn't work (and I'm sure I've seen Alt + D style dialogs). It's an XP two tone dialog. Error Reporting for programs is enabled. And when one closes it one gets a second error message, similar to the first, but one I've seen often before, also without error reporting or details. It looks like a conventional message box.&lt;br&gt;&lt;br&gt;There seems to be a lot of different types of error dialogs.</description></item><item><title>What's in a SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224223</link><pubDate>Wed, 01 Sep 2004 23:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224223</guid><dc:creator>Exchange Security</dc:creator><description>In general, for NT principals, the SID for each user in a domain will be identical, except for the last RID (that&amp;amp;#8217;s why it&amp;amp;#8217;s a &amp;amp;#8220;relative&amp;amp;#8221; ID &amp;amp;#8211; the value in SubAuthority[n] is relative to SubAuthority[n-1]).  In Windows NT (before Win2000), RID allocation was trivial &amp;amp;#8211; user accounts could only be created at the primary domain controller (there was only one PDC, with multiple backup domain controllers) so the PDC could manage the list of RIDs that was allocated easily.</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224224</link><pubDate>Wed, 01 Sep 2004 20:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224224</guid><dc:creator>andy</dc:creator><description>talk about gobbledygook, David.  I actually understood Larry's, but yours are truly special.&lt;br&gt;&lt;br&gt;How do XP dialog control characters relate to the drilldown on security identifiers?  If there's a connection, please enlighten us, because I think this is bound to be a good topic.</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224310</link><pubDate>Wed, 01 Sep 2004 22:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224310</guid><dc:creator>David Candy</dc:creator><description>In the RunAs graphical command in XP a feature was added called &amp;quot;Protect My Computer ...&amp;quot;.&lt;br&gt;&lt;br&gt;There is one reference to this in the MSDN library and one reference in the web. MSDN says, in an article in passing, that it prevents registry writes. The web reference says it uses the Restricted SID, which is mentioned in the PSDK but that all.&lt;br&gt;&lt;br&gt;However it prevents more than registry writes. I just wrote a program with file writes only in it and got Path/File Access Error (RunTime Error 75). &lt;br&gt;&lt;br&gt;However I tried to avooid writing anything so earlier used an old program that I had written, this written in same language/same version. This generated an error, but not from the Runtime library but from XP. Surprisingly it is a type of error dialog I've not seen before.&lt;br&gt;&lt;br&gt;There are many types of dialogs in XP. EG in Add Fonts it is a Win 3.1 dialog. I use classic scheme so what I see others mightn't. But there are two tone error dialogs (similar in style, but smaller to the Help - About dialogs) without error reporting or details. There are Win2000/ME error dialogs (have to press Alt + D to see details), there are standard XP error dialogs with error reporting, there are explorer.exe error dialogs that look like a message box but don't log as an error in event viewer (plus sometimes a second dialog saying the shell stopped or started), not to mention app error dialogs. PS MS Word still includes all the Win 2 or 1 dialogs - the ugly white ones without titlebars.&lt;br&gt;&lt;br&gt;I hate XP as it's not tested or designed. If you look at something like Win CE or Palm you find an integrated design philosophy. This is totally missing from XP and has been since 95 to a lesser extent and IE4 to a greater extent.&lt;br&gt;&lt;br&gt;So. I want to know what ticking &amp;quot;Protect My Computer ..&amp;quot;, a in your face new undocumented feature, does. It's SID is S-1–5–12 and it's only description is Restricted (which I had sort of worked out from it's mnomic SECURITY_RESTRICTED_CODE_RID). The only MS reference to the feature states that it prevents registry writes - this it may do but it also appears to prevent file system writes as well. I can't use something if I don't know exactly what it does.&lt;br&gt;&lt;br&gt;So&lt;br&gt;&lt;br&gt;1. What exactly does the protect my computer protect against. The docs larry gave are aimed at people wanting to create their own restricted users not what Windows does.&lt;br&gt;&lt;br&gt;2. It brings up the second point why is there so many different types of error dialogs. There should be 1. Why do they have different features and appearance.&lt;br&gt;&lt;br&gt;3 Why aren't both of the above documented. In the MS language I knew best many things were illegal because someone added code to make it not work because they thought it was illogical for it to work at the conceptual level - none of this was ever documented so I've spent years of my life writing programs to run experiments so I can write the program I'm trying to write. An pseudo example would be not allowed to enter a page number if the view was outline because someone thought it's illogical to do that and so we'll write code to error if it is tried and keep silent about it in the docs.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224313</link><pubDate>Wed, 01 Sep 2004 22:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224313</guid><dc:creator>Mike Dimmick</dc:creator><description>The VB6 IDE doesn't work at all unless you're an administrator, I've found, or at least for ActiveX components since it's continually monkeying with HKEY_CLASSES_ROOT.&lt;br&gt;&lt;br&gt;Aaron Margosis' PrivBar can show you what's in a restricted token. When you create one, basically every SID in your token - apart from your own - gets added again as a restricting SID. A restricting SID in a token tells AccessCheck and its kernel brethren to only consider this SID for Deny entries in ACLs; Allow entries (which might override inherited Deny entries) are not considered. If a restricting SID isn't explicitly Denied, you might end up being Allowed.&lt;br&gt;&lt;br&gt;This feature allows a user who would normally have high privileges to drop them temporarily. It's probably safer to work the other way around, though.&lt;br&gt;&lt;br&gt;You can't allow access specifically to restricted tokens, because the Restricted SID is added to the token as a restricting (deny-only) SID.&lt;br&gt;&lt;br&gt;S-1-5-5-X-Y is your logon SID. Each logon session gets its own logon SID. When you log on, WinLogon replaces the ACL on Winsta0, the interactive window station (a window station handles human-interface input and contains desktops, which contain windows) so that only the logon SID which it's just created can manipulate this window station. When you log in through Terminal Services, the window station created for your login also has an ACL applied so that that session is the only one which can manipulate the window station.&lt;br&gt;&lt;br&gt;This is a slight simplification: the Administrators group also has some read-only access, LocalSystem has unlimited access, and the logged-in user's principal has very limited additional rights.&lt;br&gt;&lt;br&gt;More on SIDs, logons, tokens, window stations and desktops in Keith Brown's excellent book &amp;quot;Programming Windows Security&amp;quot;.</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224338</link><pubDate>Wed, 01 Sep 2004 23:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224338</guid><dc:creator>David Candy</dc:creator><description>I have PrivBar installed (don't know why - I'm always admin). It doesn't seem to work if IE is started as Restricted. One can tick or untick the menu but no bar appears.&lt;br&gt;&lt;br&gt;Of course one needs explorer running to select restricted and I can't see a way to do it - maybe as a bat file - nope.&lt;br&gt;&lt;br&gt;Perhaps you saw on the privbar article my post on how the rules are not as simple as stated in that article re explorer seperate processes.&lt;br&gt;&lt;br&gt;I read the disallow part in the msdn. Presumbably I have no deny (and a check confirms) on the file that I tried to write (c:\test.txt).</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224514</link><pubDate>Thu, 02 Sep 2004 05:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224514</guid><dc:creator>timchen</dc:creator><description>Why does HKEY_LOCAL_MACHINE in w2k has an Allow Read ACE for the RESTRICTED SID, if this SID is meant only for denying purpose?</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224542</link><pubDate>Thu, 02 Sep 2004 06:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224542</guid><dc:creator>M Knight</dc:creator><description>PrivBar works under a restricted setting. Its just mostlike the privbar is hanging off the screen. Since PrevBar cant keep its position.&lt;br&gt;&lt;br&gt;As for what &amp;quot;Protect My Computer ..&amp;quot; does:&lt;br&gt;&lt;br&gt;Restricted SIDs:&lt;br&gt;    &amp;lt;Computer name&amp;gt;\None	| mandatory enabled default&lt;br&gt;    Everyone	| mandatory enabled default&lt;br&gt;    BUILTIN\Remote Desktop Users	| mandatory enabled default&lt;br&gt;    BUILTIN\Users	| mandatory enabled default&lt;br&gt;    NT AUTHORITY\INTERACTIVE	| mandatory enabled default&lt;br&gt;    NT AUTHORITY\Authenticated Users	| mandatory enabled default&lt;br&gt;    &amp;lt;login ID&amp;gt;	| mandatory enabled default&lt;br&gt;    LOCAL	| mandatory enabled default&lt;br&gt;    NT AUTHORITY\RESTRICTED	| mandatory enabled default&lt;br&gt;&lt;br&gt;As for what the hell this is denying is another question.</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224605</link><pubDate>Thu, 02 Sep 2004 10:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224605</guid><dc:creator>David Candy</dc:creator><description>I have to say that when checking permissions I go straight to the effective permissions tab. There is no Restricted there. But there is on all the dialogs on the way to effective permissions. Caught by not reading dialogs again.&lt;br&gt;&lt;br&gt;XP is the same as 2000 in it's Allow Permissions.&lt;br&gt;&lt;br&gt;I'm fairly certain it disallows all file and registry writes. But what else? Particulary for non file/registry objects and Priveledges (like Shutdown System).</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224659</link><pubDate>Thu, 02 Sep 2004 13:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224659</guid><dc:creator>Mike Dimmick</dc:creator><description>You need to use regsvr32 on PrivBar as an administrator so that the registration information ends up in the &amp;quot;all users&amp;quot; part of HKEY_CLASSES_ROOT, I think. Also, you need to ensure that Everyone has read access to PrivBar.dll. Otherwise, IE simply gets an error from CoCreateInstance.&lt;br&gt;&lt;br&gt;ACLs can have two basic types of Access Control Entries (ACEs) - Allowed and Denied. An Allowed ACE matching a non-restricted SID in the token causes the matching bits to be permitted in the resulting access mask; once all bits are set, the request succeeds.&lt;br&gt;&lt;br&gt;A Denied ACE matching any SID in the token with any bits matching the requested access causes the access check to abort at that point. A restricting SID (one marked SE_GROUP_USE_FOR_DENY_ONLY) can never permit access, only deny.&lt;br&gt;&lt;br&gt;Your own SID is never restricted. This means that a restricted token created from your logon token can do whatever you can, unless a group you belong to is explicitly denied in the ACL. Windows XP's default for new objects created by an administrator is to set the object's owner to the creating account, unlike older versions and Server 2003, which set BUILTIN\Administrators. Since the default DACL includes CREATOR OWNER with Full Control, it actually means that you still have access to a lot of things you might not have if you'd installed software using a different account. This explains why I get errors from some programs at work that I don't get at home - most of my software at work was installed before we set up our domain, and the files and registry keys are therefore owned by a different principal from the one I now use to log on.&lt;br&gt;&lt;br&gt;Windows security is very flexible - far more so than Unix's standard owner/group/all read/write/execute bitmasks - but can also be very confusing.&lt;br&gt;&lt;br&gt;I should probably lock down %ProgramFiles% so it's owned by BUILTIN\Administrators and my principal isn't listed in the ACLs at all.</description></item><item><title>Fun things to do with SIDs</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224795</link><pubDate>Thu, 02 Sep 2004 19:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224795</guid><dc:creator>Larry Osterman's WebLog</dc:creator><description /></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#224913</link><pubDate>Thu, 02 Sep 2004 21:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224913</guid><dc:creator>Pavel Lebedinsky</dc:creator><description>&amp;gt; A restricting SID (one marked&lt;br&gt;&amp;gt; SE_GROUP_USE_FOR_DENY_ONLY) can never&lt;br&gt;&amp;gt; permit access, only deny&lt;br&gt;&lt;br&gt;Actually, restricting SIDs and deny-only SIDs are two separate things. CreateRestrictedToken allows you to specify both.&lt;br&gt;&lt;br&gt;The best way to see what exactly &amp;quot;protect my computer&amp;quot; option does is to try it. Run cmd.exe with protection turned on, then run pview.exe from Platform SDK and look at the process token for cmd.exe. You will see both deny-only (disabled) SIDs and restricted SIDs (under Other...).&lt;br&gt;&lt;br&gt;&amp;gt; This allows you to put an ACE in an ACL&lt;br&gt;&amp;gt; that would deny access to all restricted&lt;br&gt;&amp;gt; tokens.&lt;br&gt;&lt;br&gt;Note that SECURITY_RESTRICTED_CODE_RID is added only to the list of restricting SIDs. So if you grant access to RESTRICTED, it doesn't mean arbitrary restricted code will be allowed access (access is only granted if both lists allow it - read the docs for CreateRestrictedToken for details).&lt;br&gt;&lt;br&gt;Essentially, RESTRICTED is used to give you back some of the rights that you lost by running a program as restricted code. For example, if you turn on &amp;quot;protect my computer&amp;quot; then you can't access your profile folder, but you can read from HCKU. This is because HCKU grants read access to RESTRICTED and %USERPROFILE% does not.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#225015</link><pubDate>Fri, 03 Sep 2004 01:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:225015</guid><dc:creator>David Candy</dc:creator><description>Only the NT4 version of Pview has a button for token and that is greyed out. All the other pview/pviewer (Pview now was pviewer in NT4)are of a different style (XP support tools/MSDN 7.1(whatever that is)/VS6) and only show memory stats.&lt;br&gt;&lt;br&gt;I'll have to find a CD with the sdk on it (I only have filed CDs I got 5 years ago - I gave up filing then - so I know exactly where 1998 sdk cd is but not any more recent). But that makes some sense what you are saying. &lt;br&gt;&lt;br&gt;This page will end up as the definitive documentation on this feature. But I can't believe MS built in a prominent GUI feature without any reference mention of it anywhere and a wrong article about how good it is.&lt;br&gt;&lt;br&gt;Larry will end up being known as the &amp;quot;Protect My Computer&amp;quot; king.</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#225055</link><pubDate>Fri, 03 Sep 2004 03:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:225055</guid><dc:creator>Pavel Lebedinsky</dc:creator><description>I'm using pview from Platform SDK (Program Files\Microsoft SDK\Bin\winnt). It is definitely more recent than NT4 - in fact, the version number is 5.2.3790.0 which is Win2K3.&lt;br&gt;&lt;br&gt;NT4 version probably doesn't show restricting SIDs anyway as I believe this feature was introduced in Win2K.&lt;br&gt;&lt;br&gt;I believe that the reason why &amp;quot;protect my computer&amp;quot; feature doesn't get more coverage is because it's not really secure. For example, I don't think it can prevent malicious code from sending window messages to other programs running as the user (a &amp;quot;shatter&amp;quot;-style attack).&lt;br&gt;&lt;br&gt;I still occasionally run IE in restricted mode but I definitely don't count on it as my only protection.</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#225059</link><pubDate>Fri, 03 Sep 2004 03:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:225059</guid><dc:creator>David Candy</dc:creator><description>Apparantly &lt;a target="_new" href="http://blogs.msdn.com/aaron_margosis"&gt;http://blogs.msdn.com/aaron_margosis&lt;/a&gt; as been promising to talk about this for a while.&lt;br&gt;&lt;br&gt;I sent him a message to remind him.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#225519</link><pubDate>Sat, 04 Sep 2004 00:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:225519</guid><dc:creator>Aaron Margosis</dc:creator><description>The best published description of restricted tokens that I've read is in Keith Brown's &amp;quot;Programming Windows Security&amp;quot;.  He doesn't cover the &amp;quot;protect my computer&amp;quot; option, though, because his book predated Windows XP, which is where that option was introduced.  Solomon and Russinovich's upcoming &amp;quot;Windows Internals&amp;quot; book will have great info on it.&lt;br&gt;&lt;br&gt;I am planning a post on the &amp;quot;protect my computer&amp;quot; option, focusing more on the effects perceived by the end user than about how the underlying access checks actually work.  Real Soon Now.&lt;br&gt;&lt;br&gt;It takes more than a couple of paragraphs to accurately describe how an access check is performed against a non-restricted SID, when you take into account deny-only and disabled SIDs.  The important part is that an access check compares the union of the user's identity and the list of groups the user is a member of against the ACL of interest.  With a restricted token, the access check performs two passes.  The first compares the union of the user's identity and the groups against the ACL; the second test compares only the SIDs in the token's &amp;quot;restricting SIDs&amp;quot; list against the ACL.  The result of the access check is essentially the intersection of the results.  If the first pass grants you &amp;quot;full control&amp;quot; and the second pass grants you &amp;quot;read only&amp;quot;, then you get &amp;quot;read only&amp;quot;.  If either test fails to grant you any access, you get no access.  Although it is legal for the restricting SIDs list to include the user account's SID, the restricted token created by &amp;quot;protect my computer&amp;quot; does not.  Therefore, if you're running with a &amp;quot;protect my computer&amp;quot; restricted token, you do not get access to anything that is ACLed for you only.  The object needs to grant access to something else that allows the second pass to succeed.  The reason that most of HKCU gives you read-only access is because &amp;quot;RESTRICTED&amp;quot; is granted read-only.  (Like the example above:  first pass gives you &amp;quot;full&amp;quot;, second pass gives you &amp;quot;read&amp;quot;, you get &amp;quot;read&amp;quot;.)  The NTFS permissions on your profile folder hierarchy does not grant RESTRICTED anything, so you can't access your profile folder when running with a &amp;quot;protect my computer&amp;quot; restricted token.  (The reason you CAN access HKCU, which lives in a file in your profile, is because you're not accessing it directly through NTFS - if I'm not mistaken your HKCU hive is loaded by code running as System.)&lt;br&gt;&lt;br&gt;As Pavel indicated, &amp;quot;restricting SIDs&amp;quot; and &amp;quot;deny-only SIDs&amp;quot; are completely different.  &amp;quot;Restricting SIDs&amp;quot; are really misnamed, since the more SIDs you add to the list in a restricted token, the more you're granting access, not denying access.&lt;br&gt;&lt;br&gt;I'll try to get that thing posted - sorry for the delay!&lt;br&gt;</description></item><item><title>re: What is this thing called, SID?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#227730</link><pubDate>Fri, 10 Sep 2004 04:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:227730</guid><dc:creator>Aaron Margosis</dc:creator><description>It's posted.  &lt;a target="_new" href="http://blogs.msdn.com/aaron_margosis/archive/2004/09/10/227727.aspx"&gt;http://blogs.msdn.com/aaron_margosis/archive/2004/09/10/227727.aspx&lt;/a&gt;</description></item><item><title>Running restricted -- What does the </title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#227735</link><pubDate>Fri, 10 Sep 2004 07:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:227735</guid><dc:creator>Aaron Margosis' WebLog</dc:creator><description>What does it mean to </description></item><item><title>A bit on SIDs....</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#237822</link><pubDate>Tue, 05 Oct 2004 02:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:237822</guid><dc:creator>Eric Fleischman's WebLog</dc:creator><description /></item><item><title>Breaking the Holy Law: Browsing the Web as administrator?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#355334</link><pubDate>Tue, 18 Jan 2005 21:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:355334</guid><dc:creator>Scupper Mumblings</dc:creator><description>Security Developer Center: Columns: Browsing the Web and Reading E-mail Safely as an Administrator Part 1 &amp;quot;&amp;gt;Part 2 I got the heads up to this pair of MSDN articles by Microsoft Security Engineering Michael Howard off the activedir list and...</description></item><item><title>What are the access rights and privileges that control changing ownership of an object?</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#453057</link><pubDate>Thu, 18 Aug 2005 17:00:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:453057</guid><dc:creator>The Old New Thing</dc:creator><description>It's a complicated mix.</description></item><item><title>Moving a file does not recalculate inherited permissions</title><link>http://blogs.msdn.com/larryosterman/archive/2004/09/01/224051.aspx#717183</link><pubDate>Thu, 24 Aug 2006 17:00:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:717183</guid><dc:creator>The Old New Thing</dc:creator><description>Inherited permissions are established at creation.</description></item></channel></rss>