Archive

Archive for May, 2007

Preventing Cross Site Scripting (XSS) Attacks

May 18th, 2007 Sean No comments

If you are developing real world ASP.NET applications then security is something that you should be concerned about. How do you make your site or application is tamper proof but still make it flexible enough from an end user point of view ?

In order to make your web application more secure then you should take a look at the Microsoft Anti-Cross Site Scripting Library

Also, to learn more about preventing Cross Site Scripting in general there is a good MSDN Patterns and Practices article available at How To: Prevent Cross-Site Scripting in ASP.NET

If this post has helped you please consider making a donation.

Categories: .NET, security, Web 2.0 Tags:

Multiple email addresses for one Gmail Account

May 12th, 2007 Sean 54 comments

I’m a huge fan of Google’s online applications: GMail, Google Reader, etc. One little known feature of GMail which I find myself using over and over again is the ability to add extra metadata to my gmail email address to let me know where the email came from.

Let’s say that I have a gmail address: sean@gmail.com

Now if I am signing up for a newsletter at XYZ Corp. I can register with the email address sean+xyz@gmail.com You can put in any extra alphanumeric information after the plus sign and it still gets delivered to sean@gmail.com. Furthermore you can apply a filter in Gmail to process the email a certain way based on the email address that you signed you for (sean+xyz@gmail.com).

One handy use of this feature is to track where emails are coming from so if you started to get spammed for instance you will know which address was passed onto a third party.

If this post has helped you please consider making a donation.

Categories: General Tags:

Configuring Source Control Provider in Visual Studio.NET 2003

May 10th, 2007 Sean 4 comments

I am working on moving a .NET 1.1 App (Visual Studio.NET 2003) from Visual SourceSafe to Perforce Source Control. In Visual Studio.NET 2005 it is easy to change the source control provider by going to Tools -> Options -> Source Control -> Plug-in Selection. Unforunately in Visual Studio.NET 2003 it is not quite so straightforward and it isn’t possible to change the source control provider directly from the IDE. You need to modify the registry to actually change the source control provider in Visual Studio.NET 2003. I found a nice little application (Source Control Provider (SCP) Selector) that sits in your system tray that allows you to change the source control provider just by selecting the appropriate one from a list. It worked a charm for me!

Source Control Provider (SCP) Selector

http://www.kilic.net/weblog/archives/000183.html

Update: You will need to restart Visual Studio once you change your source control provider, it isn’t sufficient to just close and open the new solution.

If this post has helped you please consider making a donation.

Categories: .NET, Software Development Tags: