<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=CKFinder_1.x%2FDevelopers_Guide%2FASP.NET%2FConfiguration%2FAccess_Control</id>
		<title>CKFinder 1.x/Developers Guide/ASP.NET/Configuration/Access Control - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=CKFinder_1.x%2FDevelopers_Guide%2FASP.NET%2FConfiguration%2FAccess_Control"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;action=history"/>
		<updated>2026-05-07T01:01:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=3409&amp;oldid=prev</id>
		<title>Admin: moved CKFinder/Developers Guide/ASP.NET/Configuration/Access Control to CKFinder 1.x/Developers Guide/ASP.NET/Configuration/Access Control</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=3409&amp;oldid=prev"/>
				<updated>2010-05-28T06:46:31Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/CKFinder/Developers_Guide/ASP.NET/Configuration/Access_Control&quot; class=&quot;mw-redirect&quot; title=&quot;CKFinder/Developers Guide/ASP.NET/Configuration/Access Control&quot;&gt;CKFinder/Developers Guide/ASP.NET/Configuration/Access Control&lt;/a&gt; to &lt;a href=&quot;/CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&quot; title=&quot;CKFinder 1.x/Developers Guide/ASP.NET/Configuration/Access Control&quot;&gt;CKFinder 1.x/Developers Guide/ASP.NET/Configuration/Access Control&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:46, 28 May 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=1489&amp;oldid=prev</id>
		<title>Fredck at 11:58, 11 January 2008</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=1489&amp;oldid=prev"/>
				<updated>2008-01-11T11:58:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:58, 11 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Role&amp;lt;br&amp;gt; ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Role&amp;lt;br&amp;gt; ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''Role''' property sets the type of user defined by the ACL. If set to asterisk (*) it is treated as &amp;quot;all users&amp;quot;. You may set this parameter to other names like &amp;quot;Admin&amp;quot; or &amp;quot;Redator&amp;quot;. The name of the user type will be directly connected to the function the user are allowed to use. See [[RoleSessionVar]] for more information.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''Role''' property sets the type of user defined by the ACL. If set to asterisk (*) it is treated as &amp;quot;all users&amp;quot;. You may set this parameter to other names like &amp;quot;Admin&amp;quot; or &amp;quot;Redator&amp;quot;. The name of the user type will be directly connected to the function the user are allowed to use. See [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;#RoleSessionVar|&lt;/ins&gt;RoleSessionVar]] for more information.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== ResourceType ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== ResourceType ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fredck</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=1488&amp;oldid=prev</id>
		<title>Fredck at 11:57, 11 January 2008</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=1488&amp;oldid=prev"/>
				<updated>2008-01-11T11:57:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:57, 11 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l74&quot; &gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;RoleSessionVar = &amp;quot;CKFinder_UserRole&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;RoleSessionVar = &amp;quot;CKFinder_UserRole&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the above example, the &amp;quot;CKFinder_UserRole&amp;quot; session variable value will be used to match the ACL entries defined previously. See [[Role]], above in this page.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the above example, the &amp;quot;CKFinder_UserRole&amp;quot; session variable value will be used to match the ACL entries defined previously. See [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;#Role|&lt;/ins&gt;Role]], above in this page.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, in the config.ascx file you may the following three different roles:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, in the config.ascx file you may the following three different roles:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ckeditor_docsold:diff:version:1.11a:oldid:1486:newid:1488 --&gt;
&lt;/table&gt;</summary>
		<author><name>Fredck</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=1486&amp;oldid=prev</id>
		<title>Fredck at 11:56, 11 January 2008</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=1486&amp;oldid=prev"/>
				<updated>2008-01-11T11:56:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;amp;diff=1486&amp;amp;oldid=987&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Fredck</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=987&amp;oldid=prev</id>
		<title>W.olchawa at 14:11, 28 December 2007</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=987&amp;oldid=prev"/>
				<updated>2007-12-28T14:11:45Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:11, 28 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__TOC__&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Access control is a way you to give your users different permissions while working on folders and files. The default setting in the ckfinder.config file gives permission to every user and permits all the options. In order to change this configuration you must firstly know the basic of the '''AccessControl''' function placed in the ckfinder.config file.&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Access control is a way you to give your users different permissions while working on folders and files. The default setting in the ckfinder.config file gives permission to every user and permits all the options. In order to change this configuration you must firstly know the basic of the '''AccessControl''' function placed in the ckfinder.config file.&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ckeditor_docsold:diff:version:1.11a:oldid:974:newid:987 --&gt;
&lt;/table&gt;</summary>
		<author><name>W.olchawa</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=974&amp;oldid=prev</id>
		<title>W.olchawa at 13:32, 28 December 2007</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=974&amp;oldid=prev"/>
				<updated>2007-12-28T13:32:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:32, 28 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Access control is a way you to give your users different permissions while working on folders and files. The default setting in the config&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.php files &lt;/del&gt;gives permission to every user and permits all the options. In order to change this configuration you must firstly know the basic of the '''AccessControl''' function placed in the ckfinder.config file.&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Access control is a way you to give your users different permissions while working on folders and files. The default setting in the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ckfinder.&lt;/ins&gt;config &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;file &lt;/ins&gt;gives permission to every user and permits all the options. In order to change this configuration you must firstly know the basic of the '''AccessControl''' function placed in the ckfinder.config file.&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The syntax of the function:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The syntax of the function:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ckeditor_docsold:diff:version:1.11a:oldid:953:newid:974 --&gt;
&lt;/table&gt;</summary>
		<author><name>W.olchawa</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=953&amp;oldid=prev</id>
		<title>W.olchawa at 13:00, 28 December 2007</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=953&amp;oldid=prev"/>
				<updated>2007-12-28T13:00:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:00, 28 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l56&quot; &gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now a user can view and create a folder, but he will be unable to rename or delete it. This is the best way to secure your folders from unauthorized access.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now a user can view and create a folder, but he will be unable to rename or delete it. This is the best way to secure your folders from unauthorized access.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sessions &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;&lt;/del&gt;In order to enable the access control options for different users you should initialize &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/del&gt;session &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;data by uncommenting the &amp;quot;session_start()&amp;quot; call:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=== &lt;/ins&gt;sessions &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;$config['RoleSessionVar'] &lt;/del&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/del&gt;CKFinder_UserRole&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;';&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;//session_start();&lt;/del&gt;&amp;lt;/pre&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In order to enable the access control options for different users you should initialize &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/ins&gt;session&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;roleSessionVar &lt;/ins&gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;CKFinder_UserRole&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The session is a mechanism which will allow you to give different permissions to different users. &amp;lt;br&amp;gt;Example:&amp;lt;br&amp;gt;In your config.php file you create three different roles:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The session is a mechanism which will allow you to give different permissions to different users. &amp;lt;br&amp;gt;Example:&amp;lt;br&amp;gt;In your config.php file you create three different roles:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l106&quot; &gt;Line 106:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Important:''' Note that when the role is set to '''*''' the user always has administrative privileges even though all the options are set to '''false'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Important:''' Note that when the role is set to '''*''' the user always has administrative privileges even though all the options are set to '''false'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Now you must create a place where you will point out the role you want to use e.g. a file. In this file you put initialize the session by writing '''session_start();''' and write the command which will access you pre-defined role:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;$_SESSION['CKFinder_UserRole'] ='*' - if you want to use the admin role.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$_SESSION['CKFinder_UserRole'] ='user' - if you want to use the user role. &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$_SESSION['CKFinder_UserRole'] = 'guest' - if you want to use the guest role&amp;lt;/pre&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ckeditor_docsold:diff:version:1.11a:oldid:931:newid:953 --&gt;
&lt;/table&gt;</summary>
		<author><name>W.olchawa</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=931&amp;oldid=prev</id>
		<title>W.olchawa: CKFinder/Developers Guide/CKFinder Configuration/ASP.NET/Access Control moved to CKFinder/Developers Guide/ASP.NET/Configuration/Access Control</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=931&amp;oldid=prev"/>
				<updated>2007-12-28T12:02:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=CKFinder/Developers_Guide/CKFinder_Configuration/ASP.NET/Access_Control&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;CKFinder/Developers Guide/CKFinder Configuration/ASP.NET/Access Control (page does not exist)&quot;&gt;CKFinder/Developers Guide/CKFinder Configuration/ASP.NET/Access Control&lt;/a&gt; moved to &lt;a href=&quot;/CKFinder/Developers_Guide/ASP.NET/Configuration/Access_Control&quot; class=&quot;mw-redirect&quot; title=&quot;CKFinder/Developers Guide/ASP.NET/Configuration/Access Control&quot;&gt;CKFinder/Developers Guide/ASP.NET/Configuration/Access Control&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:02, 28 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>W.olchawa</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=843&amp;oldid=prev</id>
		<title>W.olchawa: New page: Access control is a way you to give your users different permissions while working on folders and files. The default setting in the config.php files gives permission to every user and perm...</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKFinder_1.x/Developers_Guide/ASP.NET/Configuration/Access_Control&amp;diff=843&amp;oldid=prev"/>
				<updated>2007-12-27T10:02:53Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Access control is a way you to give your users different permissions while working on folders and files. The default setting in the config.php files gives permission to every user and perm...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Access control is a way you to give your users different permissions while working on folders and files. The default setting in the config.php files gives permission to every user and permits all the options. In order to change this configuration you must firstly know the basic of the '''AccessControl''' function placed in the ckfinder.config file.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The syntax of the function:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;amp;lt;AccessControl&lt;br /&gt;
role = &amp;quot;*&amp;quot;&lt;br /&gt;
resourceType = &amp;quot;*&amp;quot;&lt;br /&gt;
folder = &amp;quot;/&amp;quot; &lt;br /&gt;
folderView = &amp;quot;true&amp;quot;&lt;br /&gt;
folderCreate = &amp;quot;true&amp;quot;&lt;br /&gt;
folderRename = &amp;quot;true&amp;quot;&lt;br /&gt;
folderDelete = &amp;quot;true&amp;quot; &lt;br /&gt;
fileView = &amp;quot;true&amp;quot;&lt;br /&gt;
fileUpload = &amp;quot;true&amp;quot;&lt;br /&gt;
fileRename = &amp;quot;true&amp;quot;&lt;br /&gt;
fileDelete = &amp;quot;true&amp;quot;&lt;br /&gt;
/&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
The three most important parameters of the &amp;quot;'''Access Control'''&amp;quot; function are:&lt;br /&gt;
&lt;br /&gt;
=== role ===&lt;br /&gt;
&lt;br /&gt;
The '''role''' is an attribute which sets the type of the user. It is set to &amp;quot;*&amp;quot; as default and you may treat as &amp;quot;every user&amp;quot;. You may set this parameter to other name like: &amp;quot;user or &amp;quot;limited_functions&amp;quot;. The name of the user type will be directly connected to the function the user may use.&lt;br /&gt;
&lt;br /&gt;
=== resourceType ===&lt;br /&gt;
&lt;br /&gt;
The '''resourceType''' defines the resources handled in CKFinder. A resource type is nothing more than a way to group files under different paths, each one having different configuration settings. E.g. Images, Flash, Files.It is set to &amp;quot;*&amp;quot; as default and means that all of the resources are available.&lt;br /&gt;
&lt;br /&gt;
=== folder ===&lt;br /&gt;
&lt;br /&gt;
'''Folder''' determines where your limitations will be used. By placing the folders name you specify the place you want to put your restrictions in. It is set to '/' as default so no folder is set.&lt;br /&gt;
&lt;br /&gt;
=== folder and file options &amp;lt;br&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The rest of the variables are bool type and can be set as '''true''' or '''false'''. True of course enables an option, false disables it.&amp;lt;br&amp;gt;Example:&amp;lt;br&amp;gt;If you want to restrict the upload, rename or delete of files in the &amp;quot;Logos&amp;quot; folder of the resource type &amp;quot;Images&amp;quot;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;amp;lt;AccessControl&lt;br /&gt;
role = &amp;quot;*&amp;quot;&lt;br /&gt;
resourceType = &amp;quot;Images&amp;quot;&lt;br /&gt;
folder = &amp;quot;/Logos&amp;quot; &lt;br /&gt;
&lt;br /&gt;
fileUpload = &amp;quot;false&amp;quot;&lt;br /&gt;
fileRename = &amp;quot;false&amp;quot;&lt;br /&gt;
fileDelete = &amp;quot;false&amp;quot;&lt;br /&gt;
/&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
The above example only refers to file operations in the folder '/Logos' itself. It doesn't restrict operations on the folder so the user can delete or rename the folder. In order to limit users ability to modify the folder (not its context) you should change permissions in the parent folder.&amp;lt;br&amp;gt;Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;amp;lt;AccessControl&lt;br /&gt;
role = &amp;quot;*&amp;quot;&lt;br /&gt;
resourceType = &amp;quot;Images&amp;quot;&lt;br /&gt;
folder = &amp;quot;/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
folderView = &amp;quot;true&amp;quot;&lt;br /&gt;
folderCreate = &amp;quot;true&amp;quot;&lt;br /&gt;
folderRename = &amp;quot;false&amp;quot;&lt;br /&gt;
folderDelete = &amp;quot;false&amp;quot;&lt;br /&gt;
/&amp;amp;gt;&amp;lt;/pre&amp;gt; &lt;br /&gt;
Now a user can view and create a folder, but he will be unable to rename or delete it. This is the best way to secure your folders from unauthorized access.&lt;br /&gt;
&lt;br /&gt;
sessions &amp;lt;br&amp;gt;In order to enable the access control options for different users you should initialize the session data by uncommenting the &amp;quot;session_start()&amp;quot; call:&lt;br /&gt;
&amp;lt;pre&amp;gt;$config['RoleSessionVar'] = 'CKFinder_UserRole';&lt;br /&gt;
//session_start();&amp;lt;/pre&amp;gt; &lt;br /&gt;
The session is a mechanism which will allow you to give different permissions to different users. &amp;lt;br&amp;gt;Example:&amp;lt;br&amp;gt;In your config.php file you create three different roles:&lt;br /&gt;
&lt;br /&gt;
First role '''admin''' '''(*)''':&lt;br /&gt;
&amp;lt;pre&amp;gt;$config['AccessControl'][] = Array(&lt;br /&gt;
'role' =&amp;amp;gt; '*',&lt;br /&gt;
'resourceType' =&amp;amp;gt; '*',&lt;br /&gt;
'folder' =&amp;amp;gt; '/',&lt;br /&gt;
'folderView' =&amp;amp;gt; false,&lt;br /&gt;
'folderCreate' =&amp;amp;gt; false,&lt;br /&gt;
'folderRename' =&amp;amp;gt; false,&lt;br /&gt;
'folderDelete' =&amp;amp;gt; false,&lt;br /&gt;
&lt;br /&gt;
'fileView' =&amp;amp;gt; false,&lt;br /&gt;
'fileUpload' =&amp;amp;gt; false,&lt;br /&gt;
'fileRename' =&amp;amp;gt; false,&lt;br /&gt;
'fileDelete' =&amp;amp;gt; false);&amp;lt;/pre&amp;gt; &lt;br /&gt;
Second role '''user''':&lt;br /&gt;
&amp;lt;pre&amp;gt;$config['AccessControl'][] = Array(&lt;br /&gt;
'role' =&amp;amp;gt; 'user',&lt;br /&gt;
'resourceType' =&amp;amp;gt; '*',&lt;br /&gt;
'folder' =&amp;amp;gt; '/',&lt;br /&gt;
'folderView' =&amp;amp;gt; true,&lt;br /&gt;
'folderCreate' =&amp;amp;gt; true,&lt;br /&gt;
'folderRename' =&amp;amp;gt; false,&lt;br /&gt;
'folderDelete' =&amp;amp;gt; false,&lt;br /&gt;
&lt;br /&gt;
'fileView' =&amp;amp;gt; true,&lt;br /&gt;
'fileUpload' =&amp;amp;gt; true,&lt;br /&gt;
'fileRename' =&amp;amp;gt; false,&lt;br /&gt;
'fileDelete' =&amp;amp;gt; false);&amp;amp;nbsp;&amp;lt;/pre&amp;gt; &lt;br /&gt;
Third role '''guest''':&lt;br /&gt;
&amp;lt;pre&amp;gt;$config['AccessControl'][] = Array(&lt;br /&gt;
'role' =&amp;amp;gt; 'guest',&lt;br /&gt;
'resourceType' =&amp;amp;gt; '*',&lt;br /&gt;
'folder' =&amp;amp;gt; '/',&lt;br /&gt;
'folderView' =&amp;amp;gt; true,&lt;br /&gt;
'folderCreate' =&amp;amp;gt; false,&lt;br /&gt;
'folderRename' =&amp;amp;gt; false,&lt;br /&gt;
'folderDelete' =&amp;amp;gt; false,&lt;br /&gt;
&lt;br /&gt;
'fileView' =&amp;amp;gt; true,&lt;br /&gt;
'fileUpload' =&amp;amp;gt; false,&lt;br /&gt;
'fileRename' =&amp;amp;gt; false,&lt;br /&gt;
'fileDelete' =&amp;amp;gt; false); &amp;amp;nbsp;&amp;lt;/pre&amp;gt; &lt;br /&gt;
You've created three different users permissions.&lt;br /&gt;
&lt;br /&gt;
'''Important:''' Note that when the role is set to '''*''' the user always has administrative privileges even though all the options are set to '''false'''.&lt;br /&gt;
&lt;br /&gt;
Now you must create a place where you will point out the role you want to use e.g. a file. In this file you put initialize the session by writing '''session_start();''' and write the command which will access you pre-defined role:&lt;br /&gt;
&amp;lt;pre&amp;gt;$_SESSION['CKFinder_UserRole'] ='*' - if you want to use the admin role.&lt;br /&gt;
$_SESSION['CKFinder_UserRole'] ='user' - if you want to use the user role. &lt;br /&gt;
$_SESSION['CKFinder_UserRole'] = 'guest' - if you want to use the guest role&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>W.olchawa</name></author>	</entry>

	</feed>