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

 

Foley killing video deemed authentic (20 Aug 2014)

 

Israel strike 'targeted Hamas chief' (20 Aug 2014)

 

Rain sparks deadly Japan landslides (20 Aug 2014)

 

Liberia troops enforce quarantine (20 Aug 2014)

 

Macy's settles racial profiling cases (20 Aug 2014)

 

Fierce fight for east Ukrainian town (20 Aug 2014)

 

Attorney General to visit Ferguson (20 Aug 2014)

 

India yoga guru BKS Iyengar dies (20 Aug 2014)

 

Hospital hack 'exploited Heartbleed' (20 Aug 2014)

 

Chan 'sorry' for son's drug arrest (20 Aug 2014)

more »

 

Slashdot News for nerds, stuff that matters

 

Kolab.org Groupware 3.3 Release Adds Tags, Notes, and Dozens of Other New Featur (2014-08-20T13:29:00Z)

 

Your Phone Can Be Snooped On Using Its Gyroscope (2014-08-20T12:51:00Z)

 

Heartbleed To Blame For Community Health Systems Breach (2014-08-20T12:12:00Z)

 

How Patent Trolls Destroy Innovation (2014-08-20T09:16:00Z)

 

Wheel Damage Adding Up Quickly For Mars Rover Curiosity (2014-08-20T07:35:00Z)

 

Solar Plant Sets Birds On Fire As They Fly Overhead (2014-08-20T06:10:00Z)

 

Operating Systems Still Matter In a Containerized World (2014-08-20T04:10:00Z)

 

Fifth Edition Dungeons and Dragons Player's Handbook Released (2014-08-20T03:05: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)

 

Hewlett-Packard source says Autonomy sales contracts a major mess (19 Aug 2014)

 

New biotech firm to develop lupus treatment from Buck Institute (19 Aug 2014)

 

Uber hires ex-Obama adviser David Plouffe to oversee strategy (19 Aug 2014)

 

Home Depot profit rebounds (19 Aug 2014)

 

Apps to help deaf, hearing people communicate more easily (19 Aug 2014)

 

Colgate-Palmolive's brand perception plummets over triclosan (19 Aug 2014)

more »

 

Asia Times Online

 

'Paramilitarizing' the South China Sea (Wed 20 Aug 2014 11:00:00 GMT)

 

Sunni Awakening in Iraq and the future of IS (Wed 20 Aug 2014 11:00:00 GMT)

 

Rights before weapons for Vietnam (Wed 20 Aug 2014 11:00:00 GMT)

 

The American cult of bombing (Wed 20 Aug 2014 11:00:00 GMT)

 

Uphill task for Israel's apologists after Gaza (Wed 20 Aug 2014 11:00:00 GMT)

 

Maritime ruling lifts Delhi-Dhaka prospects (Wed 20 Aug 2014 11:00:00 GMT)

 

Media suppression imperils Myanmar reform (Wed 20 Aug 2014 11:00:00 GMT)

 

China still backing Lao high-speed train (Wed 20 Aug 2014 11:00:00 GMT)

 

Iran 'no longer needs' Turkmenistan's gas (Wed 20 Aug 2014 11:00:00 GMT)

more »

 


Site feed Updated: 2014-Aug-20 09:00