Watch out for weird code in your pages
Tuesday, August 5th, 2008On the first of August the Xavier Media blog mention a hack of a Swedish online bookstore that caused the web site to distribute malware.
Since most of us are extremly dependent on our web sites it’s important to check out your own web site to make sure it’s not scarying your visitors away. This is when the tips mentioned in Keep an eye on your site comes in handy for any web site or blog owner:
- Make sure you always update your blog software and other scripts you got on your site to the latest version when a new security fix is released.
- Secure your own PHP code so you’re not going to end up as a victim for SQL injections.
- Test your site at Google’s Safebrowsing site to see if they’ve found something suspicious: http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=Firefox&hl=en-EN&site=http://www.sampleaddress.com/
Replace www.sampleaddress.com with your own site. - Check your site at for example McAfees SiteAdvisor.com every now and then
You should also check your static HTML pages (or any other page including HTML code) for javascript codes you haven’t added yourself because today I found this piece of code in one of my customers pages:
<!– o –><script language=’JavaScript’>
Some weird characters here
</script><!– c –>
Popularity: 7% [?]







