Jonathan Richards
Win a £1500 Raymond Weil watch
Facebook users were today left contemplating the security of private details stored on the social networking site after part of its source code leaked onto the internet.
The site today acknowledged that a section of its code had been copied and published on a blog, but stressed that none of the personal details of its 52 million users had been compromised.
At the weekend, a blog called Facebook Secrets published details of part of Facebook's 'source code', the set of commands which determine the way the site appears when it is viewed by users.
Facebook said that a fraction of its code had been "exposed to a small number of users as a result of a single, misconfigured web server" but that the problem was "fixed immediately."
"It was not a security breach and did not compromise user data in any way," the company said in a statement released to TechCrunch, the news site which first reported the story.
Security experts said that there was relatively little that could be learnt from the leaked code, which appeared to give details of the structure of the home page, but that Facebook's reputation as a secure site would be called into question.
"With the amount of personal information that's on there, the security should be tip top," Lloyd Brough, a security consultant with NCC Group, said. "This kind of thing just shouldn't be happening."
The mistake was likely to have happened during maintenance of the site, when a command that would usually cause the page to appear when loaded up did not execute, Mr Brough said.
"If that is what did occur, they shouldn't be doing it that way. They should be configuring another server and then switching over," he said.
TechCrunch said: "This leak is not good news for Facebook, as it raises the question of how secure a Facebook user's private data really is."
The code that was leaked referred to the 'front end' of Facebook's website, and detailed various of the modules used by the home page, in a language known as 'PHP script'.
Ian Moulster, a former programmer who is now a product manager at Microsoft, said: "Gaining access to the way a website's user interface works might enable a hacker to see a security gap that in turn may assist in inflicting an attack in the future."
Many bloggers expressed excitement at being able to witness the workings of the Facebook, which has quickly become one of the most trafficked sites in the world. One noted that this "roughly as exciting as someone leaking the prologue to the Harry Potter novel."
Others, however, were dismissive: "Source code secrecy is over-rated, part of the myth that programming is something mystical and irreproducible," wrote 'Carlfish' on the Valleywag website.
One report suggested that the code may have been leaked to assist in an ongoing court case brought against Facebook by ConnectU, a rival site whose owners claim Facebook stole their idea and code three years ago – a claim Facebook denies. This suggestion was dismissed by many commentators, who said that after three years of development the code would have changed beyond recognition.
It is the second time that Facebook – whose users spend an average of just over three hours per month on the site, according to comScore – has had its security procedures questioned.
In June, it was forced update its privacy settings after it was revealed that some users had unwittingly been exposing personal details, such as sexual preference and religious beliefs, even though their profiles were set to keep those details private.
Industry sectors news at a glance. Interactive heatmap, video and podcast
Everything the Business Traveller needs to know to make a better trip
Get ready for the winter sports season, with our resort guides and snow reports
We are backing British business, what is the confidence of the nation and what businesses are succeeding?
Growing demand for energy, oil that is harder to reach and the rise of carbon dioxide emissions. We examine the energy challenge
With rail travel in Europe on the rise, we review the benefits of travelling by train
In this special section we explore new food trends to help improve your dinner party and impress guests
Enjoy further reading from Travel to Fashion, Business to Sport, discover more
Shortcuts to help you find sections and articles
1998
£47,955
2004
£56,950
Essex
Check your free Experian credit report before applying
Car Insurance
£100,000
Barnardos
UK
£123,460 pa
The Law Commission
London
Hampshire County Council
Competitive + bonus + benefits
Manchester United
Central London
Moments from Battersea Park.
For sale with Winkworth
Find out about shared ownership.
See your free Experian credit report beforehand
Includes flights, accommodation with room upgrades, transfers city tours in Hong Kong and Bangkok.
PremierHolidays.co.uk
For your ultimate tailor-made ski holiday, click here
Get covered on your travels with a superb range of policies at great prices. Visit InsureandGo.com
Choose from the beautiful landscape and tranquil beaches of Oahu, Kauai, Maui & Big Island.
Contact our advertising team for advertising and sponsorship in Times Online, The Times and The Sunday Times, or place your advertisement.
Times Online Services: Dating | Jobs | Property Search | Used Cars | Holidays | Births, Marriages, Deaths | Subscriptions | E-paper
News International associated websites: Globrix Property Search | Milkround
Copyright 2009 Times Newspapers Ltd.
This service is provided on Times Newspapers' standard Terms and Conditions. Please read our Privacy Policy.To inquire about a licence to reproduce material from Times Online, The Times or The Sunday Times, click here.This website is published by a member of the News International Group. News International Limited, 1 Virginia St, London E98 1XY, is the holding company for the News International group and is registered in England No 81701. VAT number GB 243 8054 69.