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

 

Iraq moves against IS in Tikrit (02 Mar 2015)

 

US police shoot homeless man dead (02 Mar 2015)

 

Emwazi 'not huge concern' at school (02 Mar 2015)

 

Kerry to tackle Lavrov on Ukraine (02 Mar 2015)

 

N Korea opens fire as drills start (02 Mar 2015)

 

Arrests after HK shopping protest (02 Mar 2015)

 

Namibia president wins award (02 Mar 2015)

 

Estonia ruling party wins election (02 Mar 2015)

 

Murder charge for Peru ex-minister (02 Mar 2015)

 

UK cuts 'concern' head of US Army (02 Mar 2015)

more »

 

Slashdot News for nerds, stuff that matters

 

How Do You Handle the Discovery of a Web Site Disclosing Private Data? (2015-03-02T01:21:00Z)

 

Ikea Unveils Furniture That Charges Your Smartphone Wirelessly (2015-03-02T00:15:00Z)

 

Google Wants To Rank Websites Based On Facts Not Links (2015-03-01T23:10:00Z)

 

Samsung Officially Unpacks Galaxy S6 and Galaxy S6 Edge At MWC (2015-03-01T22:05:00Z)

 

Ultra-Low Power Radio Transceiver Enables Truly Wireless Earbuds (2015-03-01T21:24:00Z)

 

20-Year-Old Military Weather Satellite Explodes In Orbit (2015-03-01T21:03:00Z)

 

Ultra-Low Power Radio Transceiver Enables Truly Wireless Earbuds (2015-03-01T20:32:00Z)

 

Spacewalking Astronauts Finish Extensive, Tricky Cable Job (2015-03-01T19:30: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)

 

Virtual reality, e-sports headline SF Game Developers Conference (1 Mar 2015)

 

Review: BlackBerry Classic a throwback, with limited capabilities (1 Mar 2015)

 

'Fro Patrol’ (28 Feb 2015)

 

Farm-to-table marijuana startup throws posh Berkeley launch party (28 Feb 2015)

 

GameStop wins bidding for more than 160 RadioShack stores (28 Feb 2015)

 

Gas prices soar in California as supply shrinks (28 Feb 2015)

more »

 

Asia Times Online

 

Republicans in a blind alley on IS (Fri 27 Feb 2015 11:00:00 GMT)

 

The great Holy Land oil game (Fri 27 Feb 2015 11:00:00 GMT)

 

COMMENT The conceit of Western liberalism (Fri 27 Feb 2015 11:00:00 GMT)

 

BOOK REVIEW China's ambition not quite a 'plan' (Fri 27 Feb 2015 11:00:00 GMT)

 

SPEAKING FREELY Aung San and Dworkin: Well-lived lives (Fri 27 Feb 2015 11:00:00 GMT)

 

China's investment law reformed - but still grey (Fri 27 Feb 2015 11:00:00 GMT)

 

Building railways beats wars (Fri 27 Feb 2015 11:00:00 GMT)

more »

 


Site feed Updated: 2015-Mar-02 03:00