Select Page

securityimages 4.0.0 and opencomment

securityimages 4.0.0 and opencomment

I am back online…my notebook crashed last week and was promptly replaced by Hewlett Packard and the new hard disk died one day after being renewed…and as usual, a lot of backup (powerquest v2i protector), but I was not able to restore them, as it seems that my disk was silently dying since weeks , and "check backup afterward for consistency" is not checked as default. I work yesterday 3 hours on securityimages, and test it with a new secure PHP4 installation.

OpenComment is also currently tested, I am removing uneeded functionnality (not fully developed or tested), as soon as it work, I will deploy it to I hope to be able to use it here on my homepage before end of next week…So all Beta tester are welcome (Colin :-))

Click read more to see what has changed in securityimages 4.0.0

Securityimages 4.0.0 release "enhanced Security "

This version is now running with:

  • PHP.ini safe mode OFF 
  • Joomla RG Global Emulation O 
  • PHP.ini register global = Off

I’ will also in the future only develop with that PHP settings, so that will mean more securities for all  users and host running my code.

Bugs solved:
artf4021: php safe mode & com_securityimages
artf1411: Save setting button changes if config.securiyimages.php is not writable
artf4989: register_globals Off patch
artf3206: com_contact
artf2777: No text displayed in security Image  

API  changes
Will work only with new release of akcomment, akobook, etc…

securityimages < 4.0.0
in PHP <form>

<?php include ($mosConfig_absolute_path.’/administrator/components/com_securityimages/client.php’); ?>
<?php echo insertSecurityImage("security_refid"); ?>
<?php echo getSecurityImageText("security_try"); ?>
<?php echo getSecurityImageTextHeader(); ?> 
<?php echo getSecurityImageTextHelp(); ?>
<?php echo getSecurityImageField("security_try"); ?> 

The code above insert the image, and the text, You page normally submit information to the server for processing. Most of the time, the last 2 lines are inserted in a <form>

in PHP code checking the <form>

include ($mosConfig_absolute_path.’/administrator/components/com_securityimages/server.php’);

$checkSecurity = checkSecurityImage($security_refid, $security_try);

if $checkSecurity = true //then the user has entered the right text.

securityimages >= 4.0.0Introducing a captcha hidden field visibility name
in PHP <form>include($mosConfig_absolute_path.’/administrator/components/com_securityimages/client.php’);
$packageName = ‘securityimage_newpass’;
 echo "<tr><td>".getSecurityImageTextHeader()." *</td><td>".insertSecurityImage($packageName)."<br/>".getSecurityImageTextHelp()."".getSecurityImageField($packageName)."</td></tr>";
in PHP code checking the <form>$securityimage_newpass_refid     = mosGetParam( $_POST, securityimage_newpass_refid’, ” );
$securityimage_newpass_try     = mosGetParam( $_POST, 
securityimage_newpass_try’, ” );
$securityimage_newpass_reload     = mosGetParam( $_POST, ‘
securityimage_newpass_reload’, ” );         
include_once ($mosConfig_absolute_path.’/administrator/components/com_securityimages/server.php’);
$checkSecurity &= checkSecurityImage($securityimage_newpass_refid, $securityimage_newpass_try, $securityimage_newpass_reload);

HNCAPTCHA: now color background is fully configurable

About The Author

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.