Tags: fix

Validating file uploads in Sitecore WFFM

Our Sitecore installation was in dire need of a way to lock down file uploads on forms built with the Web Forms for Marketers (WFFM) module; out of the box, it doesn’t do any checking at all, which can lead to some risky situations. I tacked on a simple whitelist attribute to the UploadFile control, and our security engineer can breathe easy. Read More →

Bulk rename Subversion files with PowerShell

Scenario: We’re upgrading our reporting software at work, and the way that it used to integrate with SVN (through a terrible SCC bridge) involved arbitrarily placing “app_” at the head of the file names. Of course, in the new version, they no longer do this, and so all of our SVN references are out of whack. While renaming all of them to remove the “app_” at the beginning isn’t the entire solution, it’s one step I had to follow that I believe will be of benefit to others. Read More →

Using WSE 3.0 with Visual Studio 2008 and .NET 3.5

While I’m sure many of you have “moved on” to Visual Studio 2010, there are a large number of us still using 2008. Recently, my shop needed to write some code for interfacing with a vendor’s web services. No problem, right? Well… not quite. It was quite an undertaking to get a functional wrapper class for our vendor’s web service shoehorned into Visual Studio 2008 and the .NET 3.5 platform. Read More →