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

 

Ebola outbreak cases pass 10,000 (25 Oct 2014)

 

Iran hangs woman despite campaign (25 Oct 2014)

 

Google boss sets new skydive record (24 Oct 2014)

 

Attacks 'threaten Egypt's existence' (25 Oct 2014)

 

New York axe attack 'terrorist act' (25 Oct 2014)

 

Vietnam tycoon arrested for 'fraud' (25 Oct 2014)

 

Life terms for Argentina jail crimes (25 Oct 2014)

 

Britain must pay EU bill, says MEP (25 Oct 2014)

 

Malaysia envoy appears in NZ court (25 Oct 2014)

 

US judge sentences Farc commander (25 Oct 2014)

more »

 

Slashdot News for nerds, stuff that matters

 

Microsoft Now Makes Money From Surface Line, Q1 Sales Reach Almost Billion (2014-10-25T00:07:00Z)

 

Days After Shooting, Canada Proposes New Restrictions On and Offline (2014-10-24T23:22:00Z)

 

AT&T Locks Apple SIM Cards On New iPads (2014-10-24T22:47:00Z)

 

Passwords: Too Much and Not Enough (2014-10-24T22:08:00Z)

 

Verizon Injects Unique IDs Into HTTP Traffic (2014-10-24T21:26:00Z)

 

Secretive Funding Fuels Ongoing Net Neutrality Astroturfing Controversy (2014-10-24T20:43:00Z)

 

A Low Cost, Open Source Geiger Counter (Video) (2014-10-24T20:01:00Z)

 

Computer Scientist Parachutes From 135,908 Feet, Breaking Record (2014-10-24T19:14: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)

 

Tech companies haven’t gotten past sexism 1.0 (24 Oct 2014)

 

Tech political donors at crossroads as funds pour into campaigns (24 Oct 2014)

 

Workers can save more in 401(k) plans next year (24 Oct 2014)

 

Pandora Media stock falls as growth flattens (24 Oct 2014)

 

Ford goes zero-emissions with a Pedego electric bike (24 Oct 2014)

 

'Silicon Beach’ brings tech boom to Los Angeles (24 Oct 2014)

more »

 

Asia Times Online

 

THE ROVING EYE The Kobani riddle (Fri 24 Oct 2014 11:00:00 GMT)

 

Lords rule Hong Kong's democracy dance (Fri 24 Oct 2014 11:00:00 GMT)

 

The importance of being exceptional (Fri 24 Oct 2014 11:00:00 GMT)

 

The US and selective support for separatism (Fri 24 Oct 2014 11:00:00 GMT)

 

COMMENT Uzbek president faults Soviet system, keeps relics (Fri 24 Oct 2014 11:00:00 GMT)

 

JOHN PILGER Whitlam and Australia's forgotten coup (Thu 23 Oct 2014 11:00:00 GMT)

 

SPEAKING FREELY Ideological dilemma grips Hong Kong (Fri 24 Oct 2014 11:00:00 GMT)

 

Rouble decline hits home in Central Asia (Fri 24 Oct 2014 11:00:00 GMT)

more »

 


Site feed Updated: 2014-Oct-25 06:00