<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting file security with JWSCL</title>
	<atom:link href="http://blog.delphi-jedi.net/2008/04/28/setting-file-security-with-jwscl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.delphi-jedi.net/2008/04/28/setting-file-security-with-jwscl/</link>
	<description>Joint Endeavor of Delphi Innovators of Windows Programming</description>
	<lastBuildDate>Thu, 24 Nov 2011 17:58:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Christian Wimmer</title>
		<link>http://blog.delphi-jedi.net/2008/04/28/setting-file-security-with-jwscl/comment-page-1/#comment-88057</link>
		<dc:creator>Christian Wimmer</dc:creator>
		<pubDate>Wed, 27 Jul 2011 21:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=170#comment-88057</guid>
		<description>Have you updated JWA and JWSCL using Subversion as recommended in the setup guide on this site?</description>
		<content:encoded><![CDATA[<p>Have you updated JWA and JWSCL using Subversion as recommended in the setup guide on this site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dvh</title>
		<link>http://blog.delphi-jedi.net/2008/04/28/setting-file-security-with-jwscl/comment-page-1/#comment-87481</link>
		<dc:creator>dvh</dc:creator>
		<pubDate>Thu, 21 Jul 2011 12:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=170#comment-87481</guid>
		<description>The code does not work for me (WinXP, Delphi7). I have file &quot;C:\temp\foo.txt&quot; owned by user &quot;john&quot;. I log in as administrator and try to change file ownership but nothing happen. dir /Q still prints owner to be &quot;john&quot;.</description>
		<content:encoded><![CDATA[<p>The code does not work for me (WinXP, Delphi7). I have file &#8220;C:\temp\foo.txt&#8221; owned by user &#8220;john&#8221;. I log in as administrator and try to change file ownership but nothing happen. dir /Q still prints owner to be &#8220;john&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Wimmer</title>
		<link>http://blog.delphi-jedi.net/2008/04/28/setting-file-security-with-jwscl/comment-page-1/#comment-14549</link>
		<dc:creator>Christian Wimmer</dc:creator>
		<pubDate>Thu, 05 Feb 2009 18:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=170#comment-14549</guid>
		<description>Please consider the following:
1. The everyone SID is &quot;JwWorldSID&quot;
2. The empty set (you see []) is the way to define how the ACE is inherited to the folder&#039;s childs. You must set   it for folders.
3. On Vista the given folder is not valid. It has changed to sth. similar like C:\Users\Default\AppData (don&#039;t rely on that info from me though)
4. The DACL is really changed in the line with SetDACL not where the ACE object is added to a separate list.
5. Check the any exception. 
6. The folder is even protected against SYSTEM access if SYSTEM has no ACE in the DACL.</description>
		<content:encoded><![CDATA[<p>Please consider the following:<br />
1. The everyone SID is &#8220;JwWorldSID&#8221;<br />
2. The empty set (you see []) is the way to define how the ACE is inherited to the folder&#8217;s childs. You must set   it for folders.<br />
3. On Vista the given folder is not valid. It has changed to sth. similar like C:\Users\Default\AppData (don&#8217;t rely on that info from me though)<br />
4. The DACL is really changed in the line with SetDACL not where the ACE object is added to a separate list.<br />
5. Check the any exception.<br />
6. The folder is even protected against SYSTEM access if SYSTEM has no ACE in the DACL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mtjs</title>
		<link>http://blog.delphi-jedi.net/2008/04/28/setting-file-security-with-jwscl/comment-page-1/#comment-14538</link>
		<dc:creator>mtjs</dc:creator>
		<pubDate>Thu, 05 Feb 2009 14:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=170#comment-14538</guid>
		<description>Hi,

Situation: users login on a domein controler.
I would like : to have a directory on the LOCAL computer where that everyone has access to. Normally the directory would be

C:\Documents and Settings\All Users\Application Data

Yet is not so if you login under a domain. 

I&#039;ve tried via a service (so with the SYSTEM account) to make a directory with all rights for everyone yet this fails. I use : 

DACL.Add(TJwDiscretionaryAccessControlEntryAllow.Create(nil, [], GENERIC_ALL, JwUsersSID, false));

What am I doing wrong ?

Thanx! 

Kind regards,

mtjs.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Situation: users login on a domein controler.<br />
I would like : to have a directory on the LOCAL computer where that everyone has access to. Normally the directory would be</p>
<p>C:\Documents and Settings\All Users\Application Data</p>
<p>Yet is not so if you login under a domain. </p>
<p>I&#8217;ve tried via a service (so with the SYSTEM account) to make a directory with all rights for everyone yet this fails. I use : </p>
<p>DACL.Add(TJwDiscretionaryAccessControlEntryAllow.Create(nil, [], GENERIC_ALL, JwUsersSID, false));</p>
<p>What am I doing wrong ?</p>
<p>Thanx! </p>
<p>Kind regards,</p>
<p>mtjs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GunSmoker</title>
		<link>http://blog.delphi-jedi.net/2008/04/28/setting-file-security-with-jwscl/comment-page-1/#comment-1731</link>
		<dc:creator>GunSmoker</dc:creator>
		<pubDate>Tue, 15 Jul 2008 07:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=170#comment-1731</guid>
		<description>Great post, thank you!</description>
		<content:encoded><![CDATA[<p>Great post, thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

