Apple has promised to fix a flaw that enables iPhones to be accessed even when locked.

Earlier this week it was discovered that private information stored in Apple's handset and protected by a lock code can be accessed by anyone with just a few button presses.

Once someone presses the emergency call button at the unlock screen, two taps on the home button will take them through to the iPhone's private 'Favorites' page without the needing to enter the unlock code.

iPhone 3G review

"The minor iPhone security issue which surfaced this week is fixed in a software update which will be released in September," Apple representative, Jennifer Bowcock, told PC Advisor's sister title Macworld US.

However, Bowcock said iPhone owners could protect their handsets by altering its settings so that double-clicking the home button will take the user directly to the home screen, which if password protection is turned on, will be the unlock screen.