Posted on Fri, 2005-08-05 03:59, by mariuss
One method to protect your web application from nasty form posts is to check the HTTP Referer header and make sure the post comes from the same site. Somebody could use a script or a form on another site (or local on the file system) to post directly to one of your form handlers. This would allow them to bypass any limitations that you may have in your own form (size or data type) or to post repeatedly in a loop trying different configurations (or a dictionary attack).
Many security experts will say that checking the referrer is useless since it can be easly spoofed in a script or using browser extensions. While they are right, there is a class of attacks for which checking the referrer makes total sense.
Read the rest of this entry »
Posted on Fri, 2005-07-29 21:32, by mariuss
"Freedom is what freedom was when I did not know that I am free."
Posted on Thu, 2005-07-28 05:56, by mariuss

From a newspaper clipping, a couple of years old. It looks like the male dominated society is still going strong.
Posted on Wed, 2005-07-27 12:59, by mariuss
It looks like I just missed the Day Out of Time this year. One of the calendar reform proposals, the World Thirteen Moon Calendar, has this special day every year, this allows for uniform 13 months of 28 days each for every year (13 * 28 + 1 = 365). Not sure how it accounts for the extra 0.25 days corresponding to leap years in the Gregorian calendar.
Posted on Wed, 2005-07-27 10:39, by mariuss
The US is looking into extending the daylight saving time by four weeks. I could never figure this DST thing out, feels like the trick I am doing in the morning to make sure I catch the bus, I set the clock 10 minutes ahead ;-)
Anyhow, a few more extensions like this and the DST will cover 12 months, it will be a none issue then. I am reading about calendar reforms these days, it may make sense to go all the way and do the proper thing instead.
Posted on Fri, 2005-07-08 07:57, by mariuss
Posted on Fri, 2005-07-08 07:54, by mariuss
Both Google and Yahoo are coming out with mapping APIs. Not sure if they will work with addresses outside of USA.
Google seems to deal only with coordinates, so you need to first use some other service to get them for a specific address. geocoder.us does the trick, but only for US.
Both service require you to register and get an API key / Applicati
Read the rest of this entry »
Posted on Wed, 2005-07-06 10:36, by mariuss
Just found this excellent web design resource: Web Design Patterns.