Gated Content Sitecore Module

Quite a few of the clients I have worked with lately have asked about implementing Gated Content. Not Gated Pages – preventing access to pages requiring an account and roles but gated areas on an actual page. Essentially requiring a site visitor to give up some information about themselves before gaining access to some content.

This actually a good thing in Sitecore because we can request the visitor’s email address so that we can identify them in xDB. Meaning more and more of our Site visitors will be uniquely identified, tracked and ultimately targeted with personalised experiences.

Continue reading

Advertisements

Sitecore Marketplace Module – Secure File Upload for Webforms for Marketers

Secure File Upload – Restrict files uploaded via WFFM by Mime type and file size

At the beginning of the year I posted a blog on a secure way to validate uploaded files that goes beyond checking the file extension. I have since redeveloped it from the ground up to exist as a self-contained module which is now available on the Sitecore Marketplace for Sitecore 8 all the way back to 6.5;

Continue reading

Sitecore Webforms for Marketers – Custom Field Validator MIME Type Sniffer


Update: I have since released this as a Sitecore Marketplace Module for download. Improvements I have made and the full source code are available in this recent blog post


MIME Type Custom Form Validator

I was recently working on methods to validate files uploaded by End Users and the usual recommendation of checking the file extension didn’t sit right with me, even more so when I found out that the .NET API ultimately just checks the File extension as well.

So the product a mornings work I’ve written a decent method of checking those upload files are what they say they are. In this case I created a Custom Sitecore WFFM Field Validator but its simple enough to port the code to custom web forms. Hopefully another dev will find this suitable as an alternative method.

Continue reading

Sitecore Webforms for Marketers – Captcha Not Rendering Correctly

Webforms for Marketers Captcha not displaying

I recently developed a custom Web Forms field to allow users to upload photos taken on their mobile device via Web Form for Marketers. The client is pretty high-profile so a part of the requirement that they have some form of protection of repeat uploads from exhibitionists in their community shall we say. Easy, the Captcha field will meet this requirement, however there is an infuriating issue where the captcha image doesn’t display.

Continue reading