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

 

'No new Greek plan' as leaders meet (07 Jul 2015)

 

French kill hostage-swap militant (07 Jul 2015)

 

US church gunman handed more charges (07 Jul 2015)

 

Bomb blast in Nigeria 'kills 25' (07 Jul 2015)

 

WHO 'unfit for health emergencies' (07 Jul 2015)

 

Cosby gave woman drugs before sex (07 Jul 2015)

 

Iran talks to continue past deadline (07 Jul 2015)

 

Nation remembers 7/7 bombing victims (07 Jul 2015)

 

F-16 collides with small plane in US (07 Jul 2015)

 

China professor held over drug sales (07 Jul 2015)

more »

 

Slashdot News for nerds, stuff that matters

 

The Mob's IT Department (2015-07-07T18:49:00+00:00)

 

Siemens Sends Do-Not-Fly Order For Pipistrel's All-Electric Channel Crossing (2015-07-07T18:31:00+00:00)

 

Two-Pounder From Lenovo Might Be Too Light For Comfort (2015-07-07T18:06:00+00:00)

 

'Severe Bug' To Be Patched In OpenSSL (2015-07-07T17:25:00+00:00)

 

Switzerland Begins Trials of Expensive Postal Drones (2015-07-07T16:27:00+00:00)

 

Crypto Experts Blast Gov't Backdoors For Encryption (2015-07-07T15:46:00+00:00)

 

The IT Containers That Went To War (2015-07-07T15:01:00+00:00)

 

Eric Holder Says DoJ Could Strike Deal With Snowden; Current AG Takes Hard Line (2015-07-07T14:20:00+00:00)

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)

 

Sleek Shield is home entertainment’s future, not yet its present (6 Jul 2015)

 

Daily Briefing, July 7 (6 Jul 2015)

 

Airbnb hosts protest proposed home-sharing ballot initiative (6 Jul 2015)

 

U.S. stocks slip after Greece’s vote; oil skids (6 Jul 2015)

 

Business News Roundup, July 7 (6 Jul 2015)

 

Fortune's best workplaces for millennials in the Bay Area (6 Jul 2015)

more »

 

Asia Times Online

 

China ramps up charges against Zhou (Fri 20 Mar 2015 11:00:00 GMT)

 

'100 dead' in Myanmar fighting (Fri 20 Mar 2015 11:00:00 GMT)

 

Tunisian president vows no mercy (Fri 20 Mar 2015 11:00:00 GMT)

 

SPENGLER Israel's 'referendum' on 'two-state solution' (Fri 20 Mar 2015 11:00:00 GMT)

 

Russia, S Ossetia sign 'integration' pact (Fri 20 Mar 2015 11:00:00 GMT)

 

US military plunges Aquino into crisis (Fri 20 Mar 2015 11:00:00 GMT)

 

Rahmon celebrates Tajik democracy (Fri 20 Mar 2015 11:00:00 GMT)

 

THE BEAR'S LAIR Being old in 2040 no fun (Fri 20 Mar 2015 11:00:00 GMT)

 

China grant boosts Nepal ties (Fri 20 Mar 2015 11:00:00 GMT)

more »

 


Site feed Updated: 2015-Jul-07 12:00