<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 05:13:52 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Artur Ejsmont's Blog: How to properly secure remote API calls over SSL from PHP code]]></title>
      <guid>http://www.phpdeveloper.org/news/16877</guid>
      <link>http://www.phpdeveloper.org/news/16877</link>
      <description><![CDATA[<p>
<i>Artur Ejsmont</i> has a new post with a passionate call to arms for anyone who thinks that just because their URL has "https" in it, it's secure. He presents his suggestion on <a href="http://artur.ejsmont.org/blog/content/how-to-properly-secure-remote-api-calls-from-php-application">how to properly secure SSL API calls</a> for your PHP application.
</p>
<blockquote>
Lets make something clear from the very start: JUST BECAUSE THERE IS https:// IN THE URL OF THE REMOTE SERVICE IT DOES NOT MEAN THE CONNECTION IS SECURE! I am sorry for the tone of this post but i am enraged by how popular this issue is online. If you ask why i suggest a little experiment [involving changing your hosts file and using a self-signed certificate].
</blockquote>
<p>
The issue he spotlights is all too common - a server serves up SSL pages but doesn't actually verify the certificate in the process. He gives a bad example of how some scripts handle this issue using the CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to turn off this verification - a very bad idea. To protect yourself from any kind of man-in-the-middle or DNS hijack issues, you should leave these on. 
</p>]]></description>
      <pubDate>Mon, 19 Sep 2011 13:56:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Write an Ajax-driven Login Application in PHP Using SSL/TLS]]></title>
      <guid>http://www.phpdeveloper.org/news/15102</guid>
      <link>http://www.phpdeveloper.org/news/15102</link>
      <description><![CDATA[<p>
On the PHPBuilder.com site today there's <a href="http://www.phpbuilder.com/columns/Login-Ajax-SSL/Octavia_Anghel090810.php3">a new tutorial posted</a> from <i>Octavia Anghel</i> about creating a login for your site that's powered by Ajax and uses a bit more security than normal. It includes hooks to use the Ajax Server Secure Layer or an OpenSSL connection.
</p>
<blockquote>
In this article you will learn how to write a login application in PHP using Ajax and SSL/TLS in two ways either using aSSL (Ajax Server Secure Layer), a library that implements a technology similar to SSL without HTTPS or a simple Ajax and OpenSSL, an open source implementation of the SSL and TLS protocols.
</blockquote>
<p>
They start with the aSSL method and link you to <a href="http://assl.sullof.com/assl/download.asp?file=assl1.2.1PHP4.zip">a download</a> of the tool as well as some sample code to help you get started passing data to it via the session. The second example shows the OpenSSL method, mostly consisting of checking on the server side of the certificate that's passed along with the request.
</p>]]></description>
      <pubDate>Thu, 09 Sep 2010 10:29:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Web Services: How to configure https for Apache2.2 and consume PHP web services over https]]></title>
      <guid>http://www.phpdeveloper.org/news/14544</guid>
      <link>http://www.phpdeveloper.org/news/14544</link>
      <description><![CDATA[<p>
New from the PHP Web Services blog today there's a post showing you how to <a href="http://phpwebservices.blogspot.com/2010/05/how-to-configure-https-for-apache22-and.html">set up Apache 2.2 for HTTPS connections</a> to consume other web services.
</p>
<p>
The tutorial gives you a step-by-step process to follow with commands and configuration changes every step of the way:
</p>
<ul>
<li>Create a certificate
<li>Generate a key
<li>Sign the key with the certificate
<li>Copy the keys to the right directory
<li>Make configuration changes for the SSL connections
<li>Connect to the remote HTTPS web service
</ul>
<p>
If you're using PHP, you can also use the OpenSSL and SOAP clients with the SSL libraries to make requests to secure remote resources.
</p>]]></description>
      <pubDate>Mon, 24 May 2010 08:39:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[HowToForge.com: The Ultimate Media Server - Apache+SSL , PHP, MySQL and Jinzora]]></title>
      <guid>http://www.phpdeveloper.org/news/4815</guid>
      <link>http://www.phpdeveloper.org/news/4815</link>
      <description><![CDATA[HowToForge.com has posted a <a href="http://www.howtoforge.com/ultimate_freebsd_media_server">new tutorial</a> on the installation of the "ultimate meadia server" for personal use - built off of an Apacle+SSL, PHP, MySQL, and Jinzora base.
<p>
<quote>
<i>
This guide will lead you through creating a secure ssl based webserver to be able to stream your multimedia across the World Wide Web. Before embarking on this journey I would highly recommend reading this documentation in it's fullest before executing any of it. You may find some pointers in the tips and tweaks section that you can make during installation that would make this install even easier and make it a one time install.
</i>
</quote>
<p>
There are a few requirements <a href="http://www.howtoforge.com/ultimate_freebsd_media_server">they mention</a>, but once that's all arranged, it's a pretty simple setup overall. It uses the <a href="http://www.jinzora.com">Jinzora</a> software to provide the media streaming/management component of the setup...]]></description>
      <pubDate>Wed, 08 Feb 2006 07:02:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPit.net: Handling passwords safely in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4800</guid>
      <link>http://www.phpdeveloper.org/news/4800</link>
      <description><![CDATA[PHPit.net is back today with <a href="http://www.phpit.net/article/handling-passwords-safely-php/">another new tutorial</a> - this time it concerns the safe handling of passwords in your PHP scripts.
<p>
<quote>
<i>
If you're ever going to create a script that involves users or passwords, which is very likely, you'll probably run across security issues with handling the passwords. You can't just store the passwords in clear text in your database, and great care must be used when managing the passwords (for example during login).
<p>
In this article I will show you everything that you have to think about when handling passwords in PHP, and how to solve some common problems.
</i>
</quote>
<p>
They <a href="http://www.phpit.net/article/handling-passwords-safely-php/">offer suggestions</a> like storying them hashed (md5 or sha1), protecting them with a salt, SSL certificates, and how to manage their use with things like cookies and sessions.]]></description>
      <pubDate>Mon, 06 Feb 2006 07:17:10 -0600</pubDate>
    </item>
  </channel>
</rss>
