There are some people who consider OpenID providers a risk to privacy because providers are able to monitor all the sites users log in with their OpenID; they could sell the precious data for advertising and whatnot.
So what can you do to minimize that risk? Well, first start reading the Terms of Service and Privacy Statements of your OpenID provider. There are some differences between the various providers, so find out which one fits your (security) needs the best.
You’re still not happy? Fear not! Go and set up your own OpenID server. That’s right and if you are really bored you can jot down your very own privacy statement, too.
How to set it up?
Things have become easier recently and even I (read: ignorant to all things tech) have managed to successfully install it. So it shouldn’t be much of a problem for you anyway. Ben Dodson has created phpMyOpenID which is a simple installer based on phpMyID.
So before you start downloading you should make sure that you can provide these things: a PHP powered website or blog, a FTP client, your favourite tool to extract ZIP files, and of course some basic knowledge how to use them.
No problem? Great! Now just follow these simple steps and you’re done:
- download phpMyOpenID
- extract the folder and upload it to the root directory of your website or blog
- change permission of the phpmyopenid folder to CHMOD 777 (see help file of your FTP client)
- run the installation script from this URL:
http://yourwebsite.com/phpmyopenid/install.php
- provide a user name and password (and remember it!)
- follow the instructions and copy the two lines of HTML to the header of your site (look for the <head> tag)
- try to log in to any OpenID enabled website, then delete install.php and change the permission of the phpmyopenid folder to CHMOD 775
- be happy
Troubleshooting
Those instructions should work for most people. However I got this error message: Missing expected authorization header.
If you get that one try Mike West’s solution. It worked. If you doubt all things work properly, you can try the server tests on openidenabled.com; just make sure you run them in the correct order.
As you have seen it’s pretty easy to run your own OpenID server. If you’re curious and a little bit geeky, give it a try. Nevertheless I have delegated my OpenID to another provider again because I think I can’t provide all security measures a real provider is able to. But that’s up to you, of course.
Tags: Ben Dodson, favourite tool, HTML, Mike West, PHP
-
hi i have successfully installed phpMyOpenID server by following your instructions. But im not getting how the users on my site will get registered with this server. Is there some registration process required. If yes how to tell users about the regisration process.
thanks in advance.
I.X.
-
Hey guys – Site is back up now at http://labs.bendodson.com/phpmyopenid/
This will be changing shortly as I’m completely rebuilding my site but I’ll let you know here when I do it. There might be a new release of phpMyOpenID as well….
-
Hi Guys,
Just to let you know that I have successfully built a multi-user version of phpMyOpenID (finally!) and am now on the look out for beta testers. I’ve just got to add some nice styling and then a full release will be available on my site, but if you’d like to take a look at the beta version then please drop me a message.
Comments are now closed.

View Comments