tungwaiyip.info

home

about me

links

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

 

Chris Parry and Andrew Bagshaw's bodies recovered in prisoner swap - Ukraine (04 Feb 2023)

 

China urges calm over 'spy' balloon in US airspace (04 Feb 2023)

 

Tyre Nichols: Sixth police officer fired (04 Feb 2023)

 

Japan PM fires aide over derogatory LGBT remarks (04 Feb 2023)

 

Perth shark attack: Teenage girl dies in Swan River (04 Feb 2023)

 

Pakistan blocks Wikipedia for 'blasphemous content' (04 Feb 2023)

 

Pope in South Sudan tells clergy to raise voices against injustice (04 Feb 2023)

 

Coldest wind chill ever recorded in continental US, say forecasters (04 Feb 2023)

 

Canadian teen wins lotto jackpot on first try (04 Feb 2023)

 

Elon Musk found not guilty of fraud over Tesla tweet (04 Feb 2023)

more »

 

SF Gate

 

Salesforce, SF's largest employer, drops more people as part of January layoffs (2 Feb 2023)

 

Rivian lays off another 6% of workforce, hitting Bay Area and Irvine offices (1 Feb 2023)

 

Best Background Check Services: Top 13 People Finder Sites Reviewed and Ranked (1 Feb 2023)

 

Bay Area tech company Workday laying off hundreds of employees (1 Feb 2023)

 

Bay Area's PayPal sacks 2,000 workers, capping off brutal month for tech (31 Jan 2023)

 

Intel warns officials it plans 343 layoffs at its Folsom campus (31 Jan 2023)

more »


Site feed Updated: 2023-Feb-04 09:00