about me


my software


Yucatán Photos

St Lucia Photos

Photo Album



< July 2004 >
     1 2 3
4 5 6 7 8 910

past articles »

Click for San Francisco, California Forecast

San Francisco, USA


Checking for Cross-Site Scripting Vulnerability

Netcraft.com brings my attention to cross-site scripting security problem. I have examined this website for vulnerabilities. This problem is usually caused by systems not checking input received from user or third party before using it. One place this website receives input is the RSS new feeds. I have crafted a test RSS with embedded javascript. Some RSS feeder (including this website) display the content as is. They should have (arguably) strip off the embedded script before displaying it. I promptly plugged this by escaping the meta characters before outputting them on the web pages.

An important element for cross-site scripting is that a third party can use a reputable website as a conduit to inject questionable code in their context. In this case the news feeder's communication is only between this website and the news source. I am not aware of any loop hole for third party to get involved. But in the world of open communication it is better to be safe to test for all input before use.

2004.07.20 [, ] - comments


pyBlosxom Upgrade

I have finally ditched my home grown blog formatter for pyBlosxom, a very simple file based weblog server. It only take me several hours to setup and integrated with my web pages. Customization is fairly easy. I have designed the style to look, well, like the same old home page (pyBlosxom itself does not come with any decent template anyway). So far the only thing new is the calendar on the left. But I plan to add other features in the coming days.

I have downloaded Movable Type for months and never get to set it up. The database and third party library requirement really puts me off. Yet I am able to setup pyBlosxom within hours. I am really please with its light weight design and the text file based repository.

The main motivation for upgrade is the need to add permalink to the entries. I have some successful experimented with pyBlosxom but I still need some more work before publishing them. After all, permalinks means permanent. So I want to get it right.

2004.07.01 [] - comments


past articles »


BBC News


Coalition set for IS talks in Paris (15 Sep 2014)


Sweden victor vows no far-right pact (15 Sep 2014)


Abbott governs from indigenous area (15 Sep 2014)


Salmond and PM hit campaign trail (15 Sep 2014)


Hurricane Odile lashes Mexico resort (15 Sep 2014)


Brazil builds giant Amazon tower (14 Sep 2014)


Uganda seizes 'al-Shabab explosives' (14 Sep 2014)


Nato members 'send arms to Ukraine' (14 Sep 2014)


Walking or cycling 'wellbeing boost' (14 Sep 2014)


Ancient China fish 'nearly extinct' (15 Sep 2014)

more »


Slashdot News for nerds, stuff that matters


Treasure Map: NSA, GCHQ Work On Real-Time "Google Earth" Internet Observation (2014-09-15T00:05:00Z)


Chrome For Mac Drops 32-bit Build (2014-09-14T22:53:00Z)


3D-Printed Car Takes It's First Test Drive (2014-09-14T21:38:00Z)


Navy Guilty of Illegally Broad Online Searches: Child Porn Conviction Overturned (2014-09-14T20:24:00Z)


Solar Powered Technology Enhances Oil Recovery (2014-09-14T19:11:00Z)


Sapphire Glass Didn't Pass iPhone Drop Test According to Reports (2014-09-14T18:00:00Z)


KDevelop 4.7.0 Released (2014-09-14T16:50:00Z)


School Installs Biometric Fingerprint System For Cafeteria (2014-09-14T15:44:00Z)

more »


TechPsychic Tech Rumors and Invented News

more »


SF Gate


Bay Area News (7 Jan 2012)


City Insider (11 Feb 2012)


Crime Scene (13 Feb 2012)


C.W Newius Column (10 Jan 2012)


C.W. Nevius Blog (11 Feb 2012)


Education News (10 Jan 2012)


KALW (11 Feb 2012)


Matier and Ross Blog (11 Feb 2012)


California's new sick leave law explained (14 Sep 2014)


America's most overrated and underrated jobs (14 Sep 2014)


More video game releases being pushed back by publishers (13 Sep 2014)


The League wants to be dating app for The Elite (13 Sep 2014)


Sprint stock jumps on iPhone offer (13 Sep 2014)


Justice Department seeks new tool against data fraud (13 Sep 2014)

more »


Asia Times Online


JOHN PILGER Gaza and the threat of world war (Fri 12 Sep 2014 11:00:00 GMT)


Ceasefires where violations never cease (Fri 12 Sep 2014 11:00:00 GMT)


Obama launches his war, finally (Fri 12 Sep 2014 11:00:00 GMT)


Politics and the long war in Iraq (Fri 12 Sep 2014 11:00:00 GMT)


The Cold War lives on (Fri 12 Sep 2014 11:00:00 GMT)


Mitigating militancy in northwest Pakistan (Fri 12 Sep 2014 11:00:00 GMT)


SPEAKING FREELY Iranians' fractured hope for US deal (Fri 12 Sep 2014 11:00:00 GMT)


'Made in Taiwan' zones incur farmers' wrath (Fri 12 Sep 2014 11:00:00 GMT)


Corruption concerns raised over Kumtor (Fri 12 Sep 2014 11:00:00 GMT)

more »


Site feed Updated: 2014-Sep-15 00:00