tungwaiyip.info

home

about me

links

my software

Media

Yucatán Photos

St Lucia Photos

Photo Album

Videos

Blog

< July 2004 >
SuMoTuWeThFrSa
     1 2 3
4 5 6 7 8 910
11121314151617
18192021222324
25262728293031

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

 

Turks to let Kurds join Kobane fight (20 Oct 2014)

 

Exiled Nazis collected US benefits (20 Oct 2014)

 

Sweden steps up 'mystery sub' hunt (20 Oct 2014)

 

Google changes 'to fight piracy' (20 Oct 2014)

 

Nigeria declared free of Ebola (20 Oct 2014)

 

Four held 'over Iran acid attacks' (20 Oct 2014)

 

Thai accused of dead king insult (20 Oct 2014)

 

UKIP's alliance in Europe rescued (20 Oct 2014)

 

Amnesty deplores abuses in Ukraine (20 Oct 2014)

 

Kate's second baby due in April (20 Oct 2014)

more »

 

Slashdot News for nerds, stuff that matters

 

NASA's HI-SEAS Project Results Suggests a Women-Only Mars Crew (2014-10-20T20:25:00Z)

 

Debian's Systemd Adoption Inspires Threat of Fork (2014-10-20T19:43:00Z)

 

Manga Images Depicting Children Lead to Conviction in UK (2014-10-20T19:02:00Z)

 

'Endrun' Networks: Help In Danger Zones (2014-10-20T18:21:00Z)

 

Barometers In iPhones Mean More Crowdsourcing In Weather Forecasts (2014-10-20T17:38:00Z)

 

An Algorithm to End the Lines for Ice at Burning Man (2014-10-20T16:56:00Z)

 

Developers, IT Still Racking Up (Mostly) High Salaries (2014-10-20T16:15:00Z)

 

Google Changes 'To Fight Piracy' By Highlighting Legal Sites (2014-10-20T15:34: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)

 

Why does Silicon Valley exist? (19 Oct 2014)

 

You won’t get a bang out of Chevron’s use of Apple Pay (19 Oct 2014)

 

Obama announces plan to tighten debit card security (19 Oct 2014)

 

Mergers and Acquisitions, Oct. 20 (19 Oct 2014)

 

Housing starts jump 6.3% in September (19 Oct 2014)

 

Banks harvest callers’ voiceprints to fight fraud (19 Oct 2014)

more »

 

Asia Times Online

 

North Korea in grip of leadership tension (Fri 17 Oct 2014 11:00:00 GMT)

 

ROVING BACK TO THE FUTURE (Fri 17 Oct 2014 11:00:00 GMT)

 

COMMENT No peace in Pakistan for Nobel laureate (Fri 17 Oct 2014 11:00:00 GMT)

 

The missing context for IS's rise (Fri 17 Oct 2014 11:00:00 GMT)

 

China deals blow to Australia coal (Fri 17 Oct 2014 11:00:00 GMT)

 

REUVEN BRENNER The boom-and-bust Fed's rental society (Fri 17 Oct 2014 11:00:00 GMT)

more »

 


Site feed Updated: 2014-Oct-20 14:00