<?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=Template%3ACKFinder_2.x_CheckAuthentication</id>
		<title>Template:CKFinder 2.x CheckAuthentication - 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=Template%3ACKFinder_2.x_CheckAuthentication"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_CheckAuthentication&amp;action=history"/>
		<updated>2026-05-26T14:14:44Z</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=Template:CKFinder_2.x_CheckAuthentication&amp;diff=6076&amp;oldid=prev</id>
		<title>Anna: Missing &lt;/code&gt; tag added</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_CheckAuthentication&amp;diff=6076&amp;oldid=prev"/>
				<updated>2011-03-31T11:53:30Z</updated>
		
		<summary type="html">&lt;p&gt;Missing &amp;lt;/code&amp;gt; tag added&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:53, 31 March 2011&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-l10&quot; &gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&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;If the user is properly authenticated, the fuction should return &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;. We strongly recommend you to '''NOT''' simply return &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; from this function without implementing authentication checks. Without authentication support anonymous users would be able to use CKFinder on your website, including uploading and deleting files from your server.&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;If the user is properly authenticated, the fuction should return &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;. We strongly recommend you to '''NOT''' simply return &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; from this function without implementing authentication checks. Without authentication support anonymous users would be able to use CKFinder on your website, including uploading and deleting files from your server.&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 following is a sample implementation of the &amp;lt;code&amp;gt;CheckAuthentication() function:&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 following is a sample implementation of the &amp;lt;code&amp;gt;CheckAuthentication()&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;function:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

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

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_CheckAuthentication&amp;diff=6075&amp;oldid=prev</id>
		<title>Anna: code var removed</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_CheckAuthentication&amp;diff=6075&amp;oldid=prev"/>
				<updated>2011-03-31T11:25:41Z</updated>
		
		<summary type="html">&lt;p&gt;code var removed&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:25, 31 March 2011&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-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&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 following is a sample implementation of the &amp;lt;code&amp;gt;CheckAuthentication() 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 following is a sample implementation of the &amp;lt;code&amp;gt;CheckAuthentication() function:&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;{{{code}}}&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:6074:newid:6075 --&gt;
&lt;/table&gt;</summary>
		<author><name>Anna</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_CheckAuthentication&amp;diff=6074&amp;oldid=prev</id>
		<title>Anna: Article content moved to a template</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:CKFinder_2.x_CheckAuthentication&amp;diff=6074&amp;oldid=prev"/>
				<updated>2011-03-31T11:25:16Z</updated>
		
		<summary type="html">&lt;p&gt;Article content moved to a template&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#CUSTOMTITLE:CKFinder Quick Start Guide}}&lt;br /&gt;
__TOC__&lt;br /&gt;
This article describes how to get CKFinder up and running by adjusting some basic settings.&lt;br /&gt;
&lt;br /&gt;
== The CheckAuthentication() Function ==&lt;br /&gt;
By default, CKFinder will not work due to authentication restrictions. You must first make sure that you have configured it correctly, and then enable it.&lt;br /&gt;
&lt;br /&gt;
Once you have completely configured CKFinder, you are ready to enable it for use. The &amp;lt;code&amp;gt;CheckAuthentication()&amp;lt;/code&amp;gt; function is used for that. In this function you must implement the code ensuring that the requests are coming from an authenticated user. This is usually done by assigning a session variable when the user logs into your system.&lt;br /&gt;
&lt;br /&gt;
If the user is properly authenticated, the fuction should return &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;. We strongly recommend you to '''NOT''' simply return &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; from this function without implementing authentication checks. Without authentication support anonymous users would be able to use CKFinder on your website, including uploading and deleting files from your server.&lt;br /&gt;
&lt;br /&gt;
The following is a sample implementation of the &amp;lt;code&amp;gt;CheckAuthentication() function:&lt;br /&gt;
{{{code}}}&lt;/div&gt;</summary>
		<author><name>Anna</name></author>	</entry>

	</feed>