<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Voice of Shaun Ellerton</title>
	<atom:link href="http://www.shaunellerton.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shaunellerton.co.uk</link>
	<description>Thoughts, rants and commentary</description>
	<lastBuildDate>Sat, 18 Feb 2012 12:42:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Use of Google Docs or Google Cloud Services is illegal in Norway</title>
		<link>http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/</link>
		<comments>http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 12:42:06 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Google Cloud Services]]></category>
		<category><![CDATA[Google Docs]]></category>
		<category><![CDATA[illegal in Norway]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=847</guid>
		<description><![CDATA[The Open Digital Policy Organization reports that the Norwegian Data Inspectorate has effectively declared use of Google Apps in Norway to be illegal. Open Digital cites a report dated 16 January which suggests that corporate use of Google cloud services under standard terms violates Norwegian data protection laws. In what it calls a &#8216;Notice of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/Google-cloud-computing-centre.jpg" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/Google-cloud-computing-centre.jpg" alt="Google-cloud-computing-centre" title="Google-cloud-computing-centre" width="240" height="250" class="alignleft size-full wp-image-848" /></a>The <a href="http://www.opendigital.org/" title="Open Digital" target="_blank">Open Digital</a> Policy Organization reports that the Norwegian Data Inspectorate has effectively declared use of Google Apps in Norway to be illegal.</p>
<p>Open Digital cites a report dated 16 January which suggests that corporate use of Google cloud services under standard terms violates Norwegian data protection laws. In what it calls a &#8216;Notice of Decision&#8217; the Inspectorate states that the EU-US Safe Harbor agreement does not adequately guarantee data protection in the face of the US Patriot Act. The <a href="http://en.wikipedia.org/wiki/Patriot_Act" title="The Patriot Act USA" target="_blank">Patriot Act</a> gives the US government the right and ability to demand personal data on any person anywhere in the world if that data is held anywhere in the world by a US company &#8211; such as <a href="http://www.google.com/apps" title="Google Apps" target="_blank">Google</a>.</p>
<p><span id="more-847"></span></p>
<p>The Decision apparently follows a complaint from an inhabitant of Narvik. Narvik is using Google&#8217;s cloud services (specifically its email services), and the inhabitant demanded to know what data protection safeguards were in place. The Inspectorate’s conclusion is that there are insufficient safeguards to comply with Norway&#8217;s Personal Data Act 2000.</p>
<p>The Inspectorate’s report points out that the US Patriot Act was enacted after the Safe Harbor agreement was established, and that it “must be considered to be a challenge with regard to protection of privacy, even within the Safe Harbor scheme.” It further concludes that it cannot see “how any data processor outside the [European] Community that does not specify which country the data will be processed can comply with the requirements for adequate protection under § 29 of the Personal Data Act.”</p>
<p>Open Digital points out that Norway is not a full member of the EU, “but as a member of the European Economic Area, complies to all relevant EC directives.” Since the EC tends to fall in line with US wishes, it is unclear whether this ‘Notice of Decision’ will have any serious effect either within Norway or Europe generally. Open Digital “assumes some complex international diplomacy is in play with respect to US-Norway relations, with the US making a fuss about a perceived or actual problem with copyright infringement and Norway making a stand against a perceived or actual problem with overarching anti-terrorist legislation.”</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2011/12/17/type-let-it-snow-on-google-for-a-pleasant-surprise/" rel="bookmark" class="crp_title">Type “Let It Snow” on Google for a Pleasant Surprise</a></li><li><a href="http://www.shaunellerton.co.uk/2011/12/19/google-doodle-down-memory-lane/" rel="bookmark" class="crp_title">Google Doodle &#8211; Down Memory Lane</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/11/megaupload-crackdown-fear-forces-similar-sites-to-shutter-sharing-services/" rel="bookmark" class="crp_title">Megaupload crackdown, fear forces similar sites to shutter sharing services!</a></li><li><a href="http://www.shaunellerton.co.uk/2011/08/22/php-page-counter-using-txt-file-basic-model/" rel="bookmark" class="crp_title">PHP Page Counter using txt file &#8211; Basic Model</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/14/twitter-acquires-malware-security-firm-dasient/" rel="bookmark" class="crp_title">Twitter acquires malware security firm Dasient</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter acquires malware security firm Dasient</title>
		<link>http://www.shaunellerton.co.uk/2012/02/14/twitter-acquires-malware-security-firm-dasient/</link>
		<comments>http://www.shaunellerton.co.uk/2012/02/14/twitter-acquires-malware-security-firm-dasient/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 00:11:07 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[malware security]]></category>
		<category><![CDATA[Twitter and Dasient]]></category>
		<category><![CDATA[twitter security]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=820</guid>
		<description><![CDATA[Microblogging site Twitter has acquired Dasient, a Sunnyvale, Calif.-based provider of spam and malware protection services, for an undisclosed sum. “Effective immediately, we will be bringing our technology, tools, and team to the revenue engineering team at Twitter”, Dasient wrote Monday on its blog. “By joining Twitter, Dasient will be able to apply its technology [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/Twitter-security.png" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/Twitter-security.png" alt="Twitter-security" title="Twitter-security" width="217" height="223" class="alignleft size-full wp-image-821" /></a>Microblogging site Twitter has acquired Dasient, a Sunnyvale, Calif.-based provider of spam and malware protection services, for an undisclosed sum.</p>
<p>“Effective immediately, we will be bringing our technology, tools, and team to the revenue engineering team at Twitter”, Dasient wrote Monday on its blog.</p>
<p>“By joining Twitter, Dasient will be able to apply its technology and team to the world’s largest real-time information network. As part of this merger, Dasient is winding down its business and is no longer able to accept new customers”, the company wrote.</p>
<p><span id="more-820"></span></p>
<p>Dasient will be integrated into Twitter’s “revenue engineering team because they have a deep understanding of advertising-platform security issues,” Rachael Horwitz, a spokesperson for Twitter, told Mashable.com.</p>
<p>In addition to providing security services, Dasient also provides research on malware. At the 2011 Black Hat conference, the firm released research showing that privacy and security threats in mobile applications are on the rise, especially for the Android platform.</p>
<p>After analyzing around 10,000 apps downloaded from the Android Market, Dasient researchers found that 842 of them were leaking personal information. The research also highlighted the fact that drive-by downloads are a major issue for Android users to contend with.</p>
<p>This marks the second information security acquisition by Twitter in three months. In November last year, Twitter acquired Whisper Systems, a provider of encryption technology and the brainchild of hacker and security researcher Moxie Marlinspike.</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2012/01/26/zappos-class-action-lawsuit-on-behalf-of-millions-customers/" rel="bookmark" class="crp_title">Zappos class-action lawsuit on behalf of millions customers</a></li><li><a href="http://www.shaunellerton.co.uk/2012/01/28/uk-fraud-in-excess-of-2bn-per-annum-according-to-bdo/" rel="bookmark" class="crp_title">UK Fraud in excess of £2bn per annum according to BDO</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/02/uk-government-publishes-four-year-cybersecurity-strategy/" rel="bookmark" class="crp_title">UK government publishes four-year cybersecurity strategy</a></li><li><a href="http://www.shaunellerton.co.uk/2012/01/25/o2-data-breach-potentially-shares-your-cellphone-number-with-the-world/" rel="bookmark" class="crp_title">O2 data breach potentially shares your cellphone number with the world</a></li><li><a href="http://www.shaunellerton.co.uk/2011/09/01/ip-based-authentification-intranet-systems/" rel="bookmark" class="crp_title">IP Based Authentification &#8211; Intranet Systems</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/02/14/twitter-acquires-malware-security-firm-dasient/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/02/14/twitter-acquires-malware-security-firm-dasient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Megaupload crackdown, fear forces similar sites to shutter sharing services!</title>
		<link>http://www.shaunellerton.co.uk/2012/02/11/megaupload-crackdown-fear-forces-similar-sites-to-shutter-sharing-services/</link>
		<comments>http://www.shaunellerton.co.uk/2012/02/11/megaupload-crackdown-fear-forces-similar-sites-to-shutter-sharing-services/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 00:44:54 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Megaupload fear]]></category>
		<category><![CDATA[shutter sharing]]></category>
		<category><![CDATA[similar sites]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=813</guid>
		<description><![CDATA[The Feds put the smackdown on Megaupload and its whole executive team last week, charging them with criminal charges for copyright infringement and racketeering in addition to conspiracy to commit copyright infringement and money laundering. As a result, it appears that several other cloud locker companies have curbed their sharing ways to avoid similar DOJ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/filesonic-fast-and-easy-file-storage.jpg" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/filesonic-fast-and-easy-file-storage-300x152.jpg" alt="filesonic-fast-and-easy-file-storage" title="filesonic-fast-and-easy-file-storage" width="300" height="152" class="alignleft size-medium wp-image-814" /></a>The Feds put the smackdown on Megaupload and its whole executive team last week, charging them with criminal charges for copyright infringement and racketeering in addition to conspiracy to commit copyright infringement and money laundering.</p>
<p>As a result, it appears that several other cloud locker companies have curbed their sharing ways to avoid similar DOJ entanglements. FileSonic and Fileserve have eliminated file sharing from their service menus, and Uploaded.to is no longer available to those in the US.</p>
<p><span id="more-813"></span></p>
<p>Naturally, none of these companies have said that Megaupload&#8217;s legal problems are the reason for the changes, but the timing suggests it&#8217;s more than mere coincidence.</p>
<p>Disagree? Feel free to speculate about the possibilities in the comments below, and let us know if any other online storage services have made similar moves while you&#8217;re at it. </p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2012/01/24/megaupload-typosquatting-exposed-check-your-typing/" rel="bookmark" class="crp_title">MegaUpload typosquatting exposed &#8211; check your typing</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/" rel="bookmark" class="crp_title">Use of Google Docs or Google Cloud Services is illegal in Norway</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/14/twitter-acquires-malware-security-firm-dasient/" rel="bookmark" class="crp_title">Twitter acquires malware security firm Dasient</a></li><li><a href="http://www.shaunellerton.co.uk/2011/10/03/network-technologies-jdbc-overview/" rel="bookmark" class="crp_title">Network Technologies &#8211; JDBC Overview</a></li><li><a href="http://www.shaunellerton.co.uk/2011/08/18/a-world-of-blogs/" rel="bookmark" class="crp_title">A world of blogs</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/02/11/megaupload-crackdown-fear-forces-similar-sites-to-shutter-sharing-services/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/02/11/megaupload-crackdown-fear-forces-similar-sites-to-shutter-sharing-services/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CyberSource releases its 8th annual UK fraud report</title>
		<link>http://www.shaunellerton.co.uk/2012/02/06/cybersource-releases-its-8th-annual-uk-fraud-report/</link>
		<comments>http://www.shaunellerton.co.uk/2012/02/06/cybersource-releases-its-8th-annual-uk-fraud-report/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 00:37:43 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[8th annual]]></category>
		<category><![CDATA[CyberSource]]></category>
		<category><![CDATA[UK]]></category>
		<category><![CDATA[UK fraud report]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=805</guid>
		<description><![CDATA[CyberSource, a payment management company working in e-commerce and providing a fraud management system has published its latest report: UK Online Fraud Report 2012. The report is a mine of statistics on the extent and breakdown of online fraud. One of the key and unsurprising conclusions that can be drawn from these statistics is that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/Cybsource.jpg" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/Cybsource-300x64.jpg" alt="Cybsource" title="Cybsource" width="300" height="64" class="alignleft size-medium wp-image-806" /></a>CyberSource, a payment management company working in e-commerce and providing a fraud management system has published its latest report: UK Online Fraud Report 2012.</p>
<p>The report is a mine of statistics on the extent and breakdown of online fraud. One of the key and unsurprising conclusions that can be drawn from these statistics is that fraud is too high, and that fraud screening technologies should be better employed. For example, 61% of merchants have a manual review element to their transaction process. Where this exists, even with the existence of the automated fraud screening system, more than one in five transactions are taken out of the system for that manual review.</p>
<p><span id="more-805"></span></p>
<p>This transaction element, the payment of physical staff to check individual transactions, is the most expensive part of the whole process. But 75% of the transactions they inspect are subsequently accepted. “To me,” commented Dr. Akif Khan, director of products and services at CyberSource, “that says that merchants should be tuning and optimizing their automated screening. You’re paying for heads to sit there and accept good orders when really the screening rules should be picking them up and passing them straight through anyway.” Improving the screening process would directly and effectively translate to higher profits for the business and better relations with the customer.</p>
<p>Another argument for improved screening is that despite the automated system, and despite the manual review, 1% of all accepted transactions still turns out to be bad. “This is an unacceptably high volume of bad transactions,” said Dr Khan, who, from his own experience believes that most of the bad transactions come from the automated part of the process. “Most merchants would want to see that 1% reduced to less than 0.5%.” He points to the television merchant who might have a 10% margin on each television sold. “If one of those is ‘stolen’, he needs to sell nine more simply to recover his own costs.” And for every 100 televisions sold, he is statistically certain to have at least one stolen.</p>
<p>The solution, says Dr Khan, is to employ an effective but optimised fraud screening technology.</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2012/01/28/uk-fraud-in-excess-of-2bn-per-annum-according-to-bdo/" rel="bookmark" class="crp_title">UK Fraud in excess of £2bn per annum according to BDO</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/" rel="bookmark" class="crp_title">Use of Google Docs or Google Cloud Services is illegal in Norway</a></li><li><a href="http://www.shaunellerton.co.uk/2012/01/06/a-php-guide-compound-interest-snippet/" rel="bookmark" class="crp_title">A PHP Guide &#8211; Compound Interest Snippet</a></li><li><a href="http://www.shaunellerton.co.uk/2011/09/24/definition-of-database-integrated-organisation-and-self-describing/" rel="bookmark" class="crp_title">Definition of Database &#8211; Integrated Organisation and Self Describing</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/02/06/cybersource-releases-its-8th-annual-uk-fraud-report/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/02/06/cybersource-releases-its-8th-annual-uk-fraud-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UK government publishes four-year cybersecurity strategy</title>
		<link>http://www.shaunellerton.co.uk/2012/02/02/uk-government-publishes-four-year-cybersecurity-strategy/</link>
		<comments>http://www.shaunellerton.co.uk/2012/02/02/uk-government-publishes-four-year-cybersecurity-strategy/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 00:32:15 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[cybersecurity]]></category>
		<category><![CDATA[strategy plan]]></category>
		<category><![CDATA[UK government]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=795</guid>
		<description><![CDATA[The UK government has published its long-awaited cybersecurity strategy plan, detailing the gameplan for UK PLC and the internet over the next four years. Entitled `The UK Cyber Security Strategy: Protecting and Promoting the UK in a Digital World’ the paper outlines the four main pillars of action it wants the private and public sector [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/cyber-challenges.jpg" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/cyber-challenges-300x179.jpg" alt="cyber-challenges" title="cyber-challenges" width="300" height="179" class="alignleft size-medium wp-image-796" /></a>The UK government has published its long-awaited cybersecurity strategy plan, detailing the gameplan for UK PLC and the internet over the next four years.</p>
<p>Entitled `The UK Cyber Security Strategy: Protecting and Promoting the UK in a Digital World’ the paper outlines the four main pillars of action it wants the private and public sector to adopt in the run-up to 2015.</p>
<p><span id="more-795"></span></p>
<p>Announcing the <a href="http://www.cabinetoffice.gov.uk/sites/default/files/resources/WMS_The_UK_Cyber_Security_Strategy.pdf" title="Cyber Security Plan 2015" target="_blank">strategy plan</a>, Francis Maude, the Minister for the Cabinet Office, said the growth of the internet has transformed our everyday lives.</p>
<p>“But with greater openness, interconnection and dependency comes greater vulnerability. The threat to our national security from cyber attacks is real and growing. Organized criminals, terrorists, hostile states, and hacktivists are all seeking to exploit cyber space to their own ends”, he said.</p>
<p>Maude added that, in order to support the implementation of the government’s objectives it has committed new funding of £650m over four years for a transformative National Cyber Security Programme (NCSP) to strengthen the UK’s cyber capabilities.</p>
<p>“One of our key aims is to make the UK one of the most secure places in the world to do business. Currently, around 6 per cent of the UK’s GDP is enabled by the internet and this is set to grow”, he said.</p>
<p>“But with this opportunity comes greater threats. Online crime including intellectual property theft costs the UK economy billions each year. So we must take steps to preserve this growth, by tackling cyber crime and bolstering our defenses, to ensure that confidence in the internet as a way of communicating and transacting remains”, he added.</p>
<p>The four main pillars of the government’s gameplan for cyberspace are:</p>
<p>For the UK to tackle cybercrime and be one of the most secure places in the world to do business in cyberspace.</p>
<p>For the UK to be more resilient to cyber attacks and better able to protect our interests in cyberspace.</p>
<p>For the UK to have helped shape an open, stable and vibrant cyberspace, which the UK public can use safely, and that supports open societies.</p>
<p>And for UK to have the cross-cutting knowledge, skills and capability it needs to underpin all our cyber security objectives.</p>
<p>Whilst the strategy plan has 2015 as a target date, the government says it will review various facets of the plan – and amend as appropriate – each year.</p>
<p>Reaction to the strategy plan has been a little critical, with Ash Patel, country manager for UK &#038; Ireland at Stonesoft describing it as encouraging, although he said he is disappointed to see they are not committing to any research to better understand today’s threats in order to help combat them.</p>
<p>“Today’s hackers have more sophisticated attack methods than ever before, and in order to generate the outlook that the UK PLC in cyberspace is secure, which is obviously something the government is trying to achieve, they need to be working to either slow hackers down or working to build solutions which can protect companies against these advanced threats”, he said.</p>
<p>“If we don’t spend any time researching cybercrime, the cybercriminals will always be one step ahead”, he added.</p>
<p>Over at FireEye, Paul Davis, the firm’s director for Europe, said that the announcement that government wants to reach out to the private sector and cooperate on addressing cyber security issues is welcome.</p>
<p>“The exchange of information, leading to greater visibility, is the first step in seriously tackling this growing threat to the UK. Yet it is the lack of real understanding of the threat landscape, how quickly it’s evolving and the growing threat to UK PLC, coupled with actionable data, which is the biggest hurdle in progressing this initiative”, he said.</p>
<p>“There are a number of security professionals and companies both here in the UK and abroad that could make a significant contribution to this initiative. I trust the recognition of this `new’ threat brings with it a new approach in engaging with the industry. A cyber security hub centred on government but encompassing critical national infrastructure and potentially extending across key industries should be, and can be with the right political support, developed quickly”, he added.</p>
<p>David Harley, senior research fellow with ESET, was also mildly critical, noting that the initiative seems to show a real and justified concern about the level of attacks both the public and private sectors are now experiencing.</p>
<p>“However, my gut feeling is that the proportion of targeted attacks to run-of-the-mill untargeted attacks is probably overestimated. I welcome the fact that the government seems to be aware that the nation’s security is not restricted to those organizations formally recognised as part of the Critical National Infrastructure”, he said.</p>
<p>“It’s a good thing, on the whole, that more generalised cybercrime will be getting some attention as well as the more glamorous but very fluffy topic of cyberwarfare, as in practice it’s not always easy to separate the two”, he added.</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2011/12/29/php-tips-and-tricks-form-select-option-auto-populate/" rel="bookmark" class="crp_title">PHP Tips and Tricks &#8211; Form Select Option Auto Populate</a></li><li><a href="http://www.shaunellerton.co.uk/2011/12/01/php-christmas-countdown-a-php-snippet/" rel="bookmark" class="crp_title">PHP Christmas Countdown &#8211; A PHP Snippet</a></li><li><a href="http://www.shaunellerton.co.uk/2012/01/06/a-php-guide-compound-interest-snippet/" rel="bookmark" class="crp_title">A PHP Guide &#8211; Compound Interest Snippet</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/14/twitter-acquires-malware-security-firm-dasient/" rel="bookmark" class="crp_title">Twitter acquires malware security firm Dasient</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/" rel="bookmark" class="crp_title">Use of Google Docs or Google Cloud Services is illegal in Norway</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/02/02/uk-government-publishes-four-year-cybersecurity-strategy/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/02/02/uk-government-publishes-four-year-cybersecurity-strategy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A PHP Guide &#8211; Delete directory and contents &#8211; Walkthrough</title>
		<link>http://www.shaunellerton.co.uk/2012/01/31/a-php-guide-delete-directory-and-contents-php-walkthrough/</link>
		<comments>http://www.shaunellerton.co.uk/2012/01/31/a-php-guide-delete-directory-and-contents-php-walkthrough/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 07:00:25 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[a php guide by vose]]></category>
		<category><![CDATA[delete directory and contents php]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP Guide]]></category>
		<category><![CDATA[php walkthrough]]></category>
		<category><![CDATA[shaun ellerton]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=738</guid>
		<description><![CDATA[In this fantastic tutorial we are going to be looking at creating a function that deletes a directory that has contents. Now we do have a function in PHP already which is called rmdir() so lets just take a minute and take a look at what this function would look like. Inside the rmdir brackets [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/delete_directory.png" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/delete_directory.png" alt="php-delete-directory-walkthrough" title="PHP Delete Directory Walkthrough" width="256" height="256" class="alignleft size-full wp-image-739" /></a>In this fantastic tutorial we are going to be looking at creating a function that deletes a directory that has contents.</p>
<p>Now we do have a function in PHP already which is called <em>rmdir()</em> so lets just take a minute and take a look at what this function would look like.</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
rmdir('directory_name');
?&gt;
</pre>
<p>Inside the rmdir brackets between the quotes you would place your directory name of the folder you want to delete. Now this can be very useful if you are storing say images inside a directory for a particular user or some type of product line.</p>
<p><span id="more-738"></span></p>
<p>There are a variety of reasons why you would use the <em>rmdir()</em> function, however if a directory has file contents then PHP will not be able to delete the directory and you will get an error message appear.</p>
<p>If you want to know more about &#8216;functions&#8217; and using them before you carry on then check out my previous articles on <a href="http://www.shaunellerton.co.uk/2011/10/11/php-coding-made-easier-using-functions/" title="PHP Coding Made Easier – Using Functions">PHP Coding Made Easier – Using Functions</a>, <a href="http://www.shaunellerton.co.uk/2011/10/16/php-coding-made-easier-using-variables-in-functions/" title="PHP Coding Made Easier – Using Variables in Functions">PHP Coding Made Easier – Using Variables in Functions</a> otherwise lets carry on. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So we need a way to solve this and today we are going to be creating our own function and this is going to be a &#8216;recursive function&#8217; which is going to reference itself. I suggest you read up more on recursion so you are familiar with the concept but its not necessary in-order to complete this PHP Snippet.</p>
<p>A good place to start is this site: <a href="http://www.devshed.com/c/a/PHP/Fundamentals-of-Recursion-in-PHP/" title="Fundamentals of Recursion in PHP" target="_blank">Fundamentals of Recursion in PHP</a>.</p>
<p>Basically, recursion is something that references itself so hopefully that has saved you about 30mins research time. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  In this case it will essentially be calling itself to loop through or scan through the directory or a file structure of a particular directory and delete everything within.</p>
<p>If you need to know more about using &#8216;loops&#8217; in PHP then check out my previous articles by clicking:</p>
<p><a href="http://www.shaunellerton.co.uk/2011/11/25/php-coding-made-easier-using-loops-a-php-guide/" title="PHP Coding Made Easier – Using Loops – A PHP Guide">PHP Coding Made Easier – Using Loops – A PHP Guide</a></p>
<p>So this will not just delete a folder with contents it will delete folders with perhaps folders within folders with folders having contents within folders. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So the best way explain this is to show you en example. So as it stands this function <em>rmdir()</em> is part of the default PHP Function set.</p>
<p>So first of all on your localhost or remote server you will need to create a directory called &#8216;vose&#8217; which needs to be in the same place as the file we are going to be working on today. To show you how simple it is to remove a directory create a PHP file called &#8216;index.php&#8217; and copy the following code into it then upload the file to the same location as your &#8216;vose&#8217; folder you have created. (Do not put the &#8216;index.php&#8217; file inside your &#8216;vose&#8217; folder otherwise it wont work. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
rmdir('vose');
?&gt;
</pre>
<p>You should see that your newly created &#8216;vose&#8217; directory has now been removed from your localhost or your remote server. Its that simple to remove a directory but remember that if your directory has any contents within it your PHP <em>rmdir()</em> function will return an error.</p>
<p>Now, lets go ahead and create that directory again on your localhost or remote server called &#8216;vose&#8217; but this time we are going to create a file inside of it. </p>
<p>So create a &#8216;text_1.txt&#8217; document inside the folder. You do not need to type anything within the file because we are just going to see what PHP has to say about that file we have now created in our directory.</p>
<p>Now go back to your browser and refresh your &#8216;index.php&#8217; page and you will see a warning appear on your screen stating that your directory is not empty. You can see that this is a warning message which means it has not actually errored so it will execute the rest of our code if we had some but it will not delete the directory because it does not know what to do with the directories contents.</p>
<p>As you can see this is a bit of a pain when trying to delete directories but we can solve this by creating our own function. This function can be included within say a global function file that you access accross your whole website from each page.</p>
<p>So before we get started in creating our function you will need to create another text file called &#8216;text_2.txt&#8217; within your &#8216;vose&#8217; directory, then you can create a sub directory within your &#8216;vose&#8217; folder called &#8216;sub_vose&#8217;. Now within your sub directory you can create another text file and call this &#8216;text_3.txt&#8217;. You should now have your original directory (vose) with 2 text files inside (1 &#038; 2) then a sub directory (sub_vose) and within that sub directory you should have 1 text file (3). If you want to you can create another sub directory within your &#8216;sub_vose&#8217; called &#8216;sub_vose_2&#8242; and create another text file called &#8216;text_4.txt&#8217; so that we have multiple sub directories and files which will really show our script works. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Essentially we are asking our function to not just delete files within our directory but actually look inside sub directories and delete files within that and also delete the sub directory folder and also the folder we originally accessed. So lets get back toour code and we will start to write this function out.</p>
<p>I am going to call this function &#8216;vose_remove_directory&#8217; and we start our code like this:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory() {

}
?&gt;
</pre>
<p>We need to set a parameter which we will call the &#8216;directory&#8217; and we code this by adding the string variable between the brackets like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {

}
?&gt;
</pre>
<p>The first thing we will want to do with our function is to check to see if this is actually a directory and we can do this by creating an if statement inside our function. Which would look like this:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if () {

	}
}
?&gt;
</pre>
<p>Between the if statement brackets we can use the <em>is_dir()</em> function that PHP provides for us and we need to set the parameter to our string variable <em>$directory</em> like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory)) {

	}
}
?&gt;
</pre>
<p>Now outside our function we are going to call this function to use and test it like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory)) {

	}
}

vose_remove_directory('vose'); // notice the name of our directory between the brackets
?&gt;
</pre>
<p>We already have the directory called &#8216;vose&#8217; so what will happen is our call script we just added will pass our &#8216;vose&#8217; text (name of directory) in to our string variable <em>$directory</em> and then it will say: is <em>$directory</em> an actual directory. So to see an example of this we need to create the equals statement to check if this is true and if true we can echo the text &#8216;Directory Exists&#8217; on our screen like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   echo 'Directory Exists';
	}
}

vose_remove_directory('vose'); // notice the name of our directory between the brackets
?&gt;
</pre>
<p>Now if you go back to your browser and fresh your page you should see that the page displays the text &#8216;Directory Exists&#8217;. If it does not then you have not named the directory correctly or you have mistyped your directory name within your PHP code above. Make sure also that your &#8216;index.php&#8217; file is in the same location as your &#8216;vose&#8217; directory with all those files and sub directories you created earlier.</p>
<p>If your page does display &#8216;Directory Exists&#8217; then well done. To test this code you can change the call script at the end to something other than &#8216;vose&#8217; and you will see that the page does not display &#8216;Directory Exists&#8217; because it does not. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Do it like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   echo 'Directory Exists';
	}
}

vose_remove_directory('something_else_here'); // notice name of directory between brackets has changed
?&gt;
</pre>
<p>Now we no longer need to really echo that text because within our function we can now create the code that will grab the entire contents of our directory for us. So lets go ahead and create a variable called <em>$contents</em> and we are going to use the <em>scandir()</em> function that PHP provides for us; then we set the parameter to <em>$directory</em> again.</p>
<p>For now I am going to <em>return</em> this statement so it will return an array with the contents of our directory. Then I can use the <em>print_r()</em> function which will provide me with the array data that our <em>is_dir()</em> has provided. We do this like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   return $contents = scandir($directory);
	}
}

print_r(vose_remove_directory('vose')); // notice name directory has changed back!
?&gt;
</pre>
<p>Ok, now fire up your browser and click refresh to see what we have. You should see an array lke so:</p>
<p>Array ( [0]=>.[1]=>..[2]=>text_1.txt[3]=>text_2.txt[4]=>sub_vose )</p>
<p>Great, we now have our array. The first (0) is a dot and then a double dot (1) which is just basically part of the directory structure. Then we have &#8216;text_1.txt&#8217;, &#8216;text_2.txt&#8217; and &#8216;sub_vose&#8217; and this is now where we need to start thinking about recursion because if we come across a folder we would want to go and delete this folder as well and therefor we are going to have to go inside that folder and do the same process over again. If this does not seem clear at the moment to you then do not worry as it will start to become clear the further on into the code we get. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Remember this is not a particularly long function so it is not a difficult thing to code. So lets get back to our code and unset the first two results in our variable called &#8216;.&#8217; and &#8216;..&#8217; because they are just part of the directory structure. First, get rid of the return function at the beginning of our <em>$contents</em> variable. Next we want to use the unset for our <em>$contents</em> variable to say <em>$contents[0]</em> which is the first result in our array and <em>$contents[1]</em> which is our second result in our array. This tells PHP to ignore those first two results of our array as we do not want to do anything with those. Unset can have multiple parameters as you can see because we have used two in our current code. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now we need to go ahead and <em>return</em> our <em>$contents</em> variable and we do this like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   $contents = scandir($directory);
	   unset($contents[0], $contents[1]);
	   return $contents;
	}
}

print_r(vose_remove_directory('vose'));
?&gt;
</pre>
<p>If you now go back to your browser and refresh you will see that the first two results have been removed from the array as printed on your screen using our <em>print_r()</em> function. So now we are only working with our files and folders.</p>
<p>Ok, so now what we want to do is loop through the contents if the directory and base a decision on whether we want to first of all delete something, whether its a file or not because if its just a file we want to delete it and we can use the <em>unlink()</em> function to just do that. If the current object is however a directory(sub) we would need to apply the entire process over again to delete everything within it and the sub directory itself.</p>
<p>In order to accomplish this I am going to use a &#8216;foreach loop&#8217; like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   $contents = scandir($directory);
	   unset($contents[0], $contents[1]);

	   foreach() {

	   }

	}
}

print_r(vose_remove_directory('vose'));
?&gt;
</pre>
<p>We now set the parameters of this foreach loop to <em>$content</em> as <em>$object</em> which will basically make each file and folder within our directory an <em>$object</em>. Then we will want to create a variable inside of this to represent the current object. We want to do that by taking the current directory we are in followed by forward slash followed by the object itself. Take a look:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   $contents = scandir($directory);
	   unset($contents[0], $contents[1]);

	   foreach($contents as $object) {
	      $current_object = $directory.'/'.$object;
	   }

	}
}

print_r(vose_remove_directory('vose'));
?&gt;
</pre>
<p>Now what I am going to do is just echo that line out and then append on a break at the end and this is going to just give me and idea as I am going along how everything is looking. So we do not need the <em>print_r()</em> function anymore because we are already going to output something using the <em>echo</em> statement like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   $contents = scandir($directory);
	   unset($contents[0], $contents[1]);

	   foreach($contents as $object) {
	      echo $current_object = $directory.'/'.$object, '&lt;br /&gt;';
	   }

	}
}

vose_remove_directory('vose');
?&gt;
</pre>
<p>When you refresh your page you will see a list of your files and sub directories with the original directory name at the beginning like so:</p>
<p>vose/text_1.txt<br />
vose/text_2.txt<br />
vose/sub_vose</p>
<p>So now we have actually got the real location of this we can go ahead and start to either delete or apply some recursion and apply this function again. Ok, what we want to do is check the current file type of this <em>$object</em> is a directory. Again we are going to use an if statement to process this and we want to say &#8216;if the filetype of the <em>$current_object</em> is equal to our <em>$directory</em>&#8216; then delete the directory we are currently in.</p>
<p>Just as a sidestep I can going to code in something here so you can see the file types in your list because its always best to do these things so you know what I am referring to so take a look at this:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   $contents = scandir($directory);
	   unset($contents[0], $contents[1]);

	   foreach($contents as $object) {
	      $current_object = $directory.'/'.$object; // notice change in code
		  echo filetype($current_object), '&lt;br /&gt;';
	   }

	}
}

vose_remove_directory('vose');
?&gt;
</pre>
<p>Notice the echo statement line which is going to print on screen the file types for example of the contents of our directory like so:</p>
<p>file<br />
file<br />
dir</p>
<p>As you can see we have our two files and our sub directory within our folder. <img src='http://www.shaunellerton.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Now we need to create our if statement and we say &#8216;if filetype of the <em>$current_object</em> is equal to <em>$directory</em>&#8216; we will need to call the function again and apply that to the current <em>$object</em>. So if its a file we can delete it using our else statement using our <em>unlink()</em> function for our <em>$current_object</em>.</p>
<p>So if the filetype is actually a directory at this stage then we need to apply this entire process again and delete the files within that sub directory and then delete the sub directory itself. Otherwise we would just need to delete <em>unlink()</em> the <em>$current_object</em> like we have done with our else statement. All we need to do is call our function again here for our <em>$current_object</em> and its as simple as that. Take a look:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   $contents = scandir($directory);
	   unset($contents[0], $contents[1]);

	   foreach($contents as $object) {
	      $current_object = $directory.'/'.$object;
		  if (filetype($current_object) === $directory) {
		     vose_remove_directory($current_object); // called function again here
		  } else {
		     unlink($current_object);
			 }
	   }

	}
}

vose_remove_directory('vose');
?&gt;
</pre>
<p>We do have one more line to add which is extremely important but for now as long as you understand how looping through an array of files and creating a recursive function the thats great. So now what we need to do once we have finished with the last sub directory we want to remove the original directory we first accessed like so:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   $contents = scandir($directory);
	   unset($contents[0], $contents[1]);

	   foreach($contents as $object) {
	      $current_object = $directory.'/'.$object;
		  if (filetype($current_object) === 'dir') {
		     vose_remove_directory($current_object); // called function again here
		  } else {
		     unlink($current_object);
			 }
	   }
	   rmdir($directory);
	}
}

vose_remove_directory('vose');
?&gt;
</pre>
<p>So now we can actually go ahead and test this. I want you to create a folder (directory) called &#8216;vose_empty&#8217; where you have placed your &#8216;vose&#8217; directory and your &#8216;index.php&#8217; file. Change the bottom line of the code to this:</p>
<pre class="brush: php; title: code:; notranslate">
vose_remove_directory('vose_empty');
?&gt;
</pre>
<p>Then scoot back to your browser and refresh the page. You will see that your newly created &#8216;vose_empty&#8217; directory has now been removed. Now you can change it back to your &#8216;vose&#8217; folder name like so:</p>
<pre class="brush: php; title: code:; notranslate">
vose_remove_directory('vose');
?&gt;
</pre>
<p>Now the code should erase everything in your &#8216;vose&#8217; folder including our files and sub directories with files and sub directories within them. So when you have changed the code back like above you can go ahead and hit refresh in your browser and you will see by checking your file structure that your &#8216;vose&#8217; folder has been removed with everything that was inside it.</p>
<p>As you can see this is a very useful function to be able to write although I know understanding the recursion can be quite tricky at times but as long as you can get your head around the fact that we are just basically going down the structure (or the tree) of our files and directories then we are applying the same function to remove sub directories and all its contents.</p>
<p>So my advise would be to just go ahead and place this whole function within a global file that all your website pages can call upon and use this fantastic function anytime you want. So the function at the end looks like this:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
function vose_remove_directory($directory) {
    if (is_dir($directory) === true) {
	   $contents = scandir($directory);
	   unset($contents[0], $contents[1]);

	   foreach($contents as $object) {
	      $current_object = $directory.'/'.$object;
		  if (filetype($current_object) === 'dir') {
		     vose_remove_directory($current_object); // called function again here
		  } else {
		     unlink($current_object);
			 }
	   }
	   rmdir($directory);
	}
}
?&gt;
</pre>
<p>And we call our function into play using the following code:</p>
<pre class="brush: php; title: code:; notranslate">
&lt;?php
vose_remove_directory('vose');
?&gt;
</pre>
<p>You can always set your &#8216;vose&#8217; directory name as a variable don&#8217;t forget so you can have your code run dynamically on say such things as folders named after users which no longer exist or products which you no longer sell.</p>
<p>I hope you have enjoyed my &#8216;Remove Directory Function PHP Snippet&#8217; and if you have any comments please feel free to leave them below.</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2011/08/27/mysql-delete-post-revisions-in-wordpress-tweak/" rel="bookmark" class="crp_title">MySQL &#8211; Delete post revisions in WordPress &#8211; Tweak</a></li><li><a href="http://www.shaunellerton.co.uk/2011/08/20/guildwars-php-wiki-snippet-nicholas-the-traveler/" rel="bookmark" class="crp_title">GuildWars PHP Wiki Snippet &#8211; Nicholas the Traveler</a></li><li><a href="http://www.shaunellerton.co.uk/2011/12/23/generate-a-random-string-a-php-snippet/" rel="bookmark" class="crp_title">Generate a Random String &#8211; A PHP Snippet</a></li><li><a href="http://www.shaunellerton.co.uk/2011/12/29/php-tips-and-tricks-form-select-option-auto-populate/" rel="bookmark" class="crp_title">PHP Tips and Tricks &#8211; Form Select Option Auto Populate</a></li><li><a href="http://www.shaunellerton.co.uk/2011/11/25/php-coding-made-easier-using-loops-a-php-guide/" rel="bookmark" class="crp_title">PHP Coding Made Easier &#8211; Using Loops &#8211; A PHP Guide</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/01/31/a-php-guide-delete-directory-and-contents-php-walkthrough/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/01/31/a-php-guide-delete-directory-and-contents-php-walkthrough/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>UK Fraud in excess of £2bn per annum according to BDO</title>
		<link>http://www.shaunellerton.co.uk/2012/01/28/uk-fraud-in-excess-of-2bn-per-annum-according-to-bdo/</link>
		<comments>http://www.shaunellerton.co.uk/2012/01/28/uk-fraud-in-excess-of-2bn-per-annum-according-to-bdo/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 00:12:37 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[2bn per annum fraud]]></category>
		<category><![CDATA[BDO]]></category>
		<category><![CDATA[UK Fraud]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=785</guid>
		<description><![CDATA[Reported fraud in the UK during 2011 increased by 50% to stand at more than £2bn. Both the number and average value of reported cases also rose. These are the findings of accountancy firm BDO’s annual FraudTrack report. It highlights the five primary types of fraud that account for more than 85% of the total: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/bank-online-security.jpg" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/bank-online-security-300x225.jpg" alt="uk-fraud" title="UK Fraud" width="300" height="225" class="alignleft size-medium wp-image-786" /></a>Reported fraud in the UK during 2011 increased by 50% to stand at more than £2bn. Both the number and average value of reported cases also rose.</p>
<p>These are the findings of accountancy firm BDO’s annual FraudTrack report. It highlights the five primary types of fraud that account for more than 85% of the total: tax fraud (rising to 36%), supplier/customer fraud (rising to 30%), employee fraud (down to 10%), corruption (rising to 4%), and management fraud (down to 5.5%).</p>
<p><span id="more-785"></span></p>
<p>Simon Bevan, head of fraud at BDO LLP, believes that a number of factors are at work. The dramatic overall increase might be partly explained by greater focus on the bottom line during a time of economic difficulty. Quite simply, more fraud is being discovered because it is being looked for. Conversely, reported management fraud has dropped because “whistleblowers tend to keep their heads down at times of high unemployment.”</p>
<p>Less easy to explain is the rise in corruption given the UK’s new Bribery Act.</p>
<p>However, fraud will continue to rise thinks Imam Hoque, the managing director of financial crime detection company Detica NetReveal, because it “is becoming the crime of choice for many organized criminals.” It can be conducted from outside of the country (making prosecution difficult), it involves less risk than other crimes (such as drug trafficking), and avoids the challenges of large scale money laundering.</p>
<p>Hoque is seeing a growing interest in products like NetReveal that provide sophisticated network analytics  able to identify suspicious behavior and any evidence of organized criminality. “One of the key reasons for this demand,” he says, “is that with relatively small expenditure, firms can cut down the amount of money lost through fraud.”</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2012/02/06/cybersource-releases-its-8th-annual-uk-fraud-report/" rel="bookmark" class="crp_title">CyberSource releases its 8th annual UK fraud report</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/01/28/uk-fraud-in-excess-of-2bn-per-annum-according-to-bdo/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/01/28/uk-fraud-in-excess-of-2bn-per-annum-according-to-bdo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zappos class-action lawsuit on behalf of millions customers</title>
		<link>http://www.shaunellerton.co.uk/2012/01/26/zappos-class-action-lawsuit-on-behalf-of-millions-customers/</link>
		<comments>http://www.shaunellerton.co.uk/2012/01/26/zappos-class-action-lawsuit-on-behalf-of-millions-customers/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 01:17:03 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[class-action]]></category>
		<category><![CDATA[lawsuit]]></category>
		<category><![CDATA[Zappos]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=773</guid>
		<description><![CDATA[Theresa Stevens, a resident of Beaumont, Texas, filed a class-action compliant in federal court in Louisville, Ky., against Amazon.com for failing to protect the personal information of Zappos’s customers. “Defendant failed to adopt and maintain adequate procedures to protect [personal] information and limit its dissemination only for permissible purposes set forth in the FCRA [Fair [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/zappos-logo.gif"  target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/zappos-logo-300x115.gif" alt="zappos-logo" title="zappos-logo" width="250" height="115" class="alignleft size-medium wp-image-774" /></a>Theresa Stevens, a resident of Beaumont, Texas, filed a class-action compliant in federal court in Louisville, Ky., against Amazon.com for failing to protect the personal information of Zappos’s customers.</p>
<p>“Defendant failed to adopt and maintain adequate procedures to protect [personal] information and limit its dissemination only for permissible purposes set forth in the FCRA [Fair Credit Reporting Act]. Defendant’s wrongful actions and/or inaction also constitute common law invasion of privacy by the public disclosure of private facts and common law negligence”, the complaint alleged.</p>
<p><span id="more-773"></span></p>
<p>The complaint argued that Stevens and other Zappos’ customers should be compensated for the expenses related to the breach, including “actual damages, economic damages, mental anguish damages, statutory damages and/or nominal damages, exemplary damages, injunctive relief, and attorneys’ fees, litigation expenses and costs.”</p>
<p>In an interview with Infosecurity, Joe Magee, chief technology officer (CTO) with security threat intelligence firm Vigilant, noted that while the hackers did not gain access to the full credit card numbers of Zappos’ customers, they stole enough information to launch phishing attacks that could lead to further compromises. “The biggest risk – if we are talking about addresses, email addresses, phone numbers – is general spam-oriented malware, such as phishing, drive-by downloads, that sort of thing”, he said.</p>
<p>Magee explained that the Zappos&#8217; breach highlights security issues that many companies face. First of all, checking data security compliance boxes does not always ensure security. “Compliance isn’t security….Usual the compliance bar is pretty low compared to mitigating risk, such as securing the data layer, application layer, and network layer”, he said.</p>
<p>In addition, the Vigilant CTO recommended that companies use better encryption across the board. “That would have prevented this information from going out into the wild”, he said.</p>
<p>Magee also recommended that companies encourage customers and employees to use different passwords for their various accounts, such as Facebook, Gmail, or bank accounts.</p>
<p>“Many people use the same username and password for a large majority of their personal information. When a breach like this occurs, fraudsters, will launch access campaigns to try their username or email address and password against a number of popular sites to see if that have a cross referenced match”, he said.</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2011/10/28/php-coding-made-easier-using-while-loops/" rel="bookmark" class="crp_title">PHP Coding Made Easier &#8211; Using while loops</a></li><li><a href="http://www.shaunellerton.co.uk/2011/11/12/php-coding-made-easier-using-infinite-loops/" rel="bookmark" class="crp_title">PHP Coding Made Easier &#8211; Using Infinite Loops</a></li><li><a href="http://www.shaunellerton.co.uk/2011/11/04/php-coding-made-easier-using-do-while-loops/" rel="bookmark" class="crp_title">PHP Coding Made Easier &#8211; Using do..while loops</a></li><li><a href="http://www.shaunellerton.co.uk/2011/08/27/mysql-delete-post-revisions-in-wordpress-tweak/" rel="bookmark" class="crp_title">MySQL &#8211; Delete post revisions in WordPress &#8211; Tweak</a></li><li><a href="http://www.shaunellerton.co.uk/2011/09/06/random-salt-creator-php-snippet-seasoned-security/" rel="bookmark" class="crp_title">Random Salt Creator &#8211; PHP Snippet &#8211; Seasoned Security</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/01/26/zappos-class-action-lawsuit-on-behalf-of-millions-customers/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/01/26/zappos-class-action-lawsuit-on-behalf-of-millions-customers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>European Commission unveils new online privacy rules</title>
		<link>http://www.shaunellerton.co.uk/2012/01/25/european-commission-unveils-new-online-privacy-rules/</link>
		<comments>http://www.shaunellerton.co.uk/2012/01/25/european-commission-unveils-new-online-privacy-rules/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 13:04:31 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[European Commission]]></category>
		<category><![CDATA[new online privacy rules]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=855</guid>
		<description><![CDATA[As SOPA&#8217;s aftershocks continue to ripple across the US, a slightly different brand of techno-political drama is unfolding over here in Europe, where the European Commission today announced a new set of online privacy regulations. The new legislation, unveiled this morning, was crafted with the intent of giving consumers more control over their online data, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/eu.jpg" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/eu-150x150.jpg" alt="eu" title="eu" width="200" height="200" class="alignleft size-thumbnail wp-image-856" /></a>As SOPA&#8217;s aftershocks continue to ripple across the US, a slightly different brand of techno-political drama is unfolding over here in Europe, where the European Commission today announced a new set of online privacy regulations. The new legislation, unveiled this morning, was crafted with the intent of giving consumers more control over their online data, and places more pressure upon private companies to protect user information.</p>
<p>According to Reuters, offending firms could be fined at rates of up to two percent of their yearly turnover. The laws, designed to overhaul the 1995 Data Protection Directive, will also make it easier for users to access their data, giving them the power to demand that their personal information be deleted, as long as there are no &#8220;legitimate reasons&#8221; for a company to store it. Companies, meanwhile, will be required to inform authorities of a data breach as soon as possible, &#8220;if feasible, within 24 hours.&#8221;</p>
<p><span id="more-855"></span></p>
<p>Though the rules have raised some concerns among web companies, EC privacy commissioner Viviane Reding wasted no time in heralding them as the foundation of a safer and more prosperous digital environment. &#8220;The protection of personal data is a fundamental right for all Europeans, but citizens do not always feel in full control of their personal data,&#8221; Reding explained. &#8220;A strong, clear and uniform legal framework at EU level will help to unleash the potential of the digital single market and foster economic growth, innovation and job creation.&#8221; If approved by the European Parliament and all EU member states, the laws would probably go into effect toward the end of 2013.</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/" rel="bookmark" class="crp_title">Use of Google Docs or Google Cloud Services is illegal in Norway</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/06/cybersource-releases-its-8th-annual-uk-fraud-report/" rel="bookmark" class="crp_title">CyberSource releases its 8th annual UK fraud report</a></li><li><a href="http://www.shaunellerton.co.uk/2012/01/28/uk-fraud-in-excess-of-2bn-per-annum-according-to-bdo/" rel="bookmark" class="crp_title">UK Fraud in excess of £2bn per annum according to BDO</a></li><li><a href="http://www.shaunellerton.co.uk/2011/10/16/php-coding-made-easier-using-variables-in-functions/" rel="bookmark" class="crp_title">PHP Coding Made Easier &#8211; Using Variables in Functions</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/11/megaupload-crackdown-fear-forces-similar-sites-to-shutter-sharing-services/" rel="bookmark" class="crp_title">Megaupload crackdown, fear forces similar sites to shutter sharing services!</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/01/25/european-commission-unveils-new-online-privacy-rules/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/01/25/european-commission-unveils-new-online-privacy-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>O2 data breach potentially shares your cellphone number with the world</title>
		<link>http://www.shaunellerton.co.uk/2012/01/25/o2-data-breach-potentially-shares-your-cellphone-number-with-the-world/</link>
		<comments>http://www.shaunellerton.co.uk/2012/01/25/o2-data-breach-potentially-shares-your-cellphone-number-with-the-world/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 12:19:34 +0000</pubDate>
		<dc:creator>Shaun Ellerton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[data breach]]></category>
		<category><![CDATA[O2]]></category>
		<category><![CDATA[O2 data breach]]></category>
		<category><![CDATA[O2 data breach UK]]></category>

		<guid isPermaLink="false">http://www.shaunellerton.co.uk/?p=828</guid>
		<description><![CDATA[There&#8217;s an alarming rumor circulating that suggests that UK network O2 forwards your phone number to any website visited on a smartphone. Lewis Peckover built a site that displays the header data sent to sites you visit, finding a network-specific field called &#8220;x-up-calling-line-id&#8221; which displayed his number. Angry users who tested the site have flooded [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/o2.jpg" target="_blank"><img style="margin-left: 0px; margin-right: 15px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/o2-300x258.jpg" alt="o2" title="o2" width="240" height="200" class="alignleft size-medium wp-image-829" /></a>There&#8217;s an alarming rumor circulating that suggests that UK network O2 forwards your phone number to any website visited on a smartphone. Lewis Peckover built a site that displays the header data sent to sites you visit, finding a network-specific field called &#8220;x-up-calling-line-id&#8221; which displayed his number. Angry users who tested the site have flooded the company&#8217;s official Twitter, which is currently responding with:</p>
<p>    &#8220;Security is our top most priority, we&#8217;re investigating this at the moment &#038; will come back with more info as soon as we can.&#8221;</p>
<p><span id="more-828"></span></p>
<p>The Next Web confirmed that Orange, T-Mobile and Vodafone numbers are unaffected by the issue, but GiffGaff and Tesco Mobile (both MVNOs that operate on the same network) do. TNW&#8217;s sources say it&#8217;s most likely an internal testing setup, while Mr. Peckover suggests it&#8217;s because the network transparently proxies HTTP traffic, using the number as a UID.</p>
<p><a href="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/o2-data-breach.png" target="_blank"><img style="margin-left: 15px; margin-right: 0px;" src="http://www.shaunellerton.co.uk/wp-content/uploads/2012/01/o2-data-breach.png" alt="o2-data-breach" title="o2-data-breach" width="206" height="273" class="alignright size-full wp-image-835" /></a></p>
<p><strong>Update:</strong> Most information technology companies received confirmation from O2, who said that it was &#8220;investigating with internal teams and it&#8217;s our top priority.&#8221; Slashgear and Think Broadband were unable to replicate the problem, but in my tests (pictured) it was sharing my data with the site. To test your own device visit <a href="http://lew.io/headers.php" title="Lewis Peckover" target="_blank">Lewis Peckover</a> via your mobile.</p>
<div id="crp_related"><h3>More Post Suggestions:</h3><ul><li><a href="http://www.shaunellerton.co.uk/2012/01/26/zappos-class-action-lawsuit-on-behalf-of-millions-customers/" rel="bookmark" class="crp_title">Zappos class-action lawsuit on behalf of millions customers</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/02/uk-government-publishes-four-year-cybersecurity-strategy/" rel="bookmark" class="crp_title">UK government publishes four-year cybersecurity strategy</a></li><li><a href="http://www.shaunellerton.co.uk/2011/08/18/a-world-of-blogs/" rel="bookmark" class="crp_title">A world of blogs</a></li><li><a href="http://www.shaunellerton.co.uk/2012/02/18/use-of-google-docs-or-google-cloud-services-is-illegal-in-norway/" rel="bookmark" class="crp_title">Use of Google Docs or Google Cloud Services is illegal in Norway</a></li><li><a href="http://www.shaunellerton.co.uk/2012/01/25/european-commission-unveils-new-online-privacy-rules/" rel="bookmark" class="crp_title">European Commission unveils new online privacy rules</a></li></ul></div><div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-right: 10px;"><g:plusone size="medium" count="" href="http://www.shaunellerton.co.uk/2012/01/25/o2-data-breach-potentially-shares-your-cellphone-number-with-the-world/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.shaunellerton.co.uk/2012/01/25/o2-data-breach-potentially-shares-your-cellphone-number-with-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

