 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHP-Security.net: X.509 PKI login with PHP and Apache
by Chris Cornutt May 30, 2008 @ 17:05:59
Christopher Kunz has relaunched his php-security.net domain with a brand new blog and a new article posted today - "X.509 PKI login with PHP and Apache".
Since grid computing (that's what I'm currently doing) also is very much about Single-sign on and delegation of rights, username/password authentication schemes don't quite do it for us. Thus, a PKI (public key infrastructure) based on X.509 is employed.
He explains the acronym soup by defining the process as advanced means of "showing the web who you are". He explains some of the basics about the certificates and who good candidates for this type of authentication are. Then the tech starts - how to get Apache configured to use them and how to use them in PHP to authenticate the external user (requiring OpenSSL compiled in to access the needed functions).
voice your opinion now!
x509 pki login apache certificate tutorial openssl
Harry Fuecks' Blog: Using OpenSSL, RSA and RC4 to exchange encrypted data from PHP to Java
by Chris Cornutt October 30, 2007 @ 11:14:00
Harry Fuecks came across a need in his development work to bridge a gap between a PHP script and some Java work he'd done. He found the way that fit his situation the best - the encryption of the data on the PHP side via OpenSSL.
Needed a mechanism to be able to pass chunks of data securely from PHP to Java [...] One solution might be something "from scratch" involving mcrypt or PHP libraries like Crypt_RSA. [...] Another approach is GnuPG, either via the command line as discussed in this tutorial or via the GnuPG extension from PECL.
Option 3 is using OpenSSL and PHP's openssl_seal() function. SSL is normally used for encrypting networked communication between peers but that's not all it can do. [...] What's more - and perhaps the biggest win - it also allows us to re-use existing SSL certificates.
He uses the openssl_seal functionality on top of the EVP encrypted envelope on the certificate to handle the encrypt/decrypt of the data. Both the PHP code and Java code (and execution example) are included in the post.
voice your opinion now!
rsa openssl rc4 encrypt decrypt java exchange data rsa openssl rc4 encrypt decrypt java exchange data
Wez Furlong's Blog: Identity/Authentication and PHP OpenSSL updates in the pipeline
by Chris Cornutt October 26, 2006 @ 13:27:50
In his latest post, Wez Furlong shares some of the updates he's made to his blog - specifically when it comes to the external user authentication system he's implemented.
Why do I have an external authentication mechanism? I don't want to maintain a user database just for my blog. It's more moving parts and requires things like sending email pings to random email addresses and mechanisms for resetting or retrieving a forgotten password. Not to mention that it's yet another username/password to be remembered by the person doing the commenting.
So, instead, he authenticates against the php.net cvs setup for any and all users of his site. He transitions from this over to the main point of the post - his thoughts on authentication, specifically the move towards a more centralized resource to bounce the user's information off of. He mentions TypeKey and OpenID as two technologies that are moving in the right direction.
Bringing it back to PHP, Wez notes that the PHP support for both of these technologies is very lacking, but he's been working on a patch for the openssl extension that could help that significantly.
voice your opinion now!
identity authentication openssl update openid typekey verisign identity authentication openssl update openid typekey verisign
|
Community Events
Don't see your event here? Let us know!
|