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


Ferguson protests spread across US (26 Nov 2014)


Juncker reveals giant EU jobs plan (26 Nov 2014)


Climate fixes 'could harm billions' (26 Nov 2014)


Nato fears Russian Black Sea control (26 Nov 2014)


Britons jailed over Syria terror camp (26 Nov 2014)


Raqqa air strikes death toll rises (26 Nov 2014)


Cricketer Hughes 'remains critical' (26 Nov 2014)


Zimbabwe VP leadership bid blocked (26 Nov 2014)


Lebanese diva Sabah dies, aged 87 (26 Nov 2014)


Kim Dotcom declares he is 'broke' (26 Nov 2014)

more »


Slashdot News for nerds, stuff that matters


Auto Industry Teams Up With Military To Stop Car Hacking (2014-11-26T17:32:00Z)


Hacker Threatened With 44 Felony Charges Escapes With Misdemeanor (2014-11-26T16:50:00Z)


Is Ruby On Rails Losing Steam? (2014-11-26T16:06:00Z)


Former HP CEO Carly Fiorina Considering US Presidential Run (2014-11-26T15:23:00Z)


Canada's Ebola Vaccine Nets Millions For Tiny US Biotech Firm (2014-11-26T14:40:00Z)


LHC's 'Heart' Starts Pumping Protons Before Restart (2014-11-26T13:58:00Z)


Sony To Offer Partial Refunds For PS Vita (2014-11-26T13:15:00Z)


Ask Slashdot: Why Is the Power Grid So Crummy In So Many Places? (2014-11-26T10:15: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)


Rather than rely on VCs, startup goes public in Australia (26 Nov 2014)


Business News Roundup, Nov. 26 (26 Nov 2014)


Shoppers dispatch TaskRabbits to snare Black Friday deals (26 Nov 2014)


Crowdfunding razes a home to raise up a block (25 Nov 2014)


Economy grows more than expected in 3rd quarter (25 Nov 2014)


Automakers trying to drive away car computer hackers (25 Nov 2014)

more »


Asia Times Online


Ground troops in Iraq, yet again? (Wed 26 Nov 2014 11:00:00 GMT)


SINOGRAPH World War II haunts Japan's future (Wed 26 Nov 2014 11:00:00 GMT)


Indonesia takes a Melanesian turn (Wed 26 Nov 2014 11:00:00 GMT)


Hong Kong police clear protest with teargas (Wed 26 Nov 2014 11:00:00 GMT)


Obama keeps pivot credible, for now (Wed 26 Nov 2014 11:00:00 GMT)


China reaps harvest from Russia sanctions (Wed 26 Nov 2014 11:00:00 GMT)


THE BEAR'S LAIR Abe on road to disaster (Wed 26 Nov 2014 11:00:00 GMT)

more »


Site feed Updated: 2014-Nov-26 10:00