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

 

Search for S Korea ferry passengers (17 Apr 2014)

 

Key Geneva talks over Ukraine crisis (17 Apr 2014)

 

India votes on biggest polling day (17 Apr 2014)

 

Mini-sub performs full MH370 search (17 Apr 2014)

 

Tencent brings Candy Crush to China (17 Apr 2014)

 

Pakistan Taliban end ceasefire (16 Apr 2014)

 

First Heartbleed 'hacker' arrested (16 Apr 2014)

 

Fate of Nigeria kidnap girls unclear (16 Apr 2014)

 

Argentina girl kept years in garage (17 Apr 2014)

 

Reeva Steenkamp shot in 'rapid fire' (16 Apr 2014)

more »

 

Slashdot News for nerds, stuff that matters

 

FBI Drone Deployment Timeline (2014-04-17T00:33:00Z)

 

GoPro Project Claims Technology Is Making People Lose Empathy For Homeless (2014-04-16T23:48:00Z)

 

Industry-Wide Smartphone "Kill Switch" Closer To Reality (2014-04-16T23:02:00Z)

 

Code Quality: Open Source vs. Proprietary (2014-04-16T22:17:00Z)

 

Ask Slashdot: What Good Print Media Is Left? (2014-04-16T21:35:00Z)

 

Steam's Most Popular Games (2014-04-16T20:54:00Z)

 

'Thermoelectrics' Could One Day Power Cars (2014-04-16T20:12:00Z)

 

Survey: 56 Percent of US Developers Expect To Become Millionaires (2014-04-16T19: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)

 

AngelList's new fund could lead to big shift in venture capital (16 Apr 2014)

 

Public-private shield needed against hackers, Tom Ridge says (16 Apr 2014)

 

Protesters call on Apple to pay more taxes on overseas funds (15 Apr 2014)

 

DNA alternative to Pap smear prompts medical debate (15 Apr 2014)

 

Zebra Technologies to borrow funds to buy Motorola unit (15 Apr 2014)

 

Ship traffic for April 16 (15 Apr 2014)

more »

 

Asia Times Online

 

Asia bucks military spending decline (15 Apr 2014)

 

Breaking bad in southern NATOstan (15 Apr 2014)

 

US veterans promote 'right to heal' (15 Apr 2014)

 

New China-India era no shoo-in under Modi (15 Apr 2014)

 

Doubts cloud China's urbanization drive (15 Apr 2014)

 

CREDIT BUBBLE BULLETIN Financial stability (15 Apr 2014)

more »

 


Site feed Updated: 2014-Apr-16 21:00