<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Security tutorial request</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 03:36:10 -0000</pubDate>

		<item>
			<title>tensh</title>
			<description><![CDATA[Yes, indeed. I'd like to know not only security means, but also logic behind them, maybe with examples of bad use or what can happen if (something) won't be used. <br />
<br />
Also, it would always help in safe plugin development.<br />
I saw some plugins in your download section don't obey to these rules.]]></description>
			<pubDate>Thu, 21 May 2009 18:15:57 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2752&d=0#post12725]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[Basic security for you plugin is provided by following these rules:<br />
<br />
- Use the SED_CODE check as the first line of your plugin code<br />
<br />
- ALWAYS use the sed_import() function for importing http request parameters (don't forget to use the right datatype and use the optional maxlenght if applicable)<br />
<br />
- Use sed_sql_prep() function in SQL statements, or cast using (int) for integer values (usually IDs)<br />
<br />
- Try to use Cotonti's core functions (see functions.php and database.mysql.php) instead of your own as much as possible, this includes using functions that replace default php functions such as sed_sql_query (mysql_query())<br />
<br />
- Don't trust ANY data given by a user, always expect data to be unsafe<br />
<br />
- Don't do anything stupid<br />
<br />
<br />
A tutorial might be a good thing to have though.]]></description>
			<pubDate>Thu, 14 May 2009 19:52:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2752&d=0#post12501]]></link>
		</item>
		<item>
			<title>tensh</title>
			<description><![CDATA[Hello;<br />
<br />
I'd like to request a tutorial with a breakdown of Cotonti security measurements. I'd like to write some plugins, having it all put in a nice article would help me prevent any security holes.<br />
<br />
Also, additionally mentioned &quot;php best practices&quot; would be nice as well.]]></description>
			<pubDate>Thu, 14 May 2009 16:00:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2752&d=0#post12498]]></link>
		</item>
	</channel>
</rss>