About
Digital Colony is the technical web site for Michael Allen Smith of Seattle.
Tag Archives: security
Masking Email Addresses in PHP
Steve Waag from Lacanche Ranges was able to translate the ASP in Masking Your Email Address to PHP. <?php function maskEmail($email) { $maskedEmail = ”; for ($j = 0; $j < strlen($email); $j++) { $maskedEmail .= ‘&#’ . ord(substr($email, $j, … Continue reading
Override ReturnUrl in ASP.NET Security
When using FormsAuthentication and a logged out user tries to enter a secured page that page name is appended to the ReturnUrl. After the user has been authenticated, the user is redirected to that page. I had no problem with … Continue reading
SQL Injection – Case Study
Well I got nailed today. My site INeedCoffee.com which is written using Classic ASP fell victim to a SQL Injection attack. The damage was limited to just one column in a table of nine rows. Textbook SQL Injection Attack Almost … Continue reading
Restoring Civility To Your Browser (2002)
This article was written in 2002, but still holds a few valuable tips. Back in 1998, surfing the Internet was less complicated. The user wasn’t constantly bombarded with pop-up advertisements. Spyware or adware barely existed. And Flash was an exciting … Continue reading
Masking Your Email Address
This post was updated in February 2007. Some of you are probably aware of spiders. They are these little programs that surf the internet looking for data. Some spiders assist search engines in helping you find the web page you … Continue reading
