Published by Mijingo

movie icon image

EE Insider Blog

Spend your time learning and developing sites with ExpressionEngine and we'll use this blog to keep you informed of all the news related to ExpressionEngine and CodeIgniter.

» Read more in the Archives.

» Have a tip? Send us your EE news.

Learn ExpressionEngine Today

Over a series of 8 videos, watch and learn as Ryan builds an entire ExpressionEngine website from beginning to end. Get started now.

Keighl Teaches You to Access Private Images

We’ve all run into scenarios with ExpressionEngine where we need to protect content from being accessed by users. There have been a lot of great recent developments on this front. First, an update of Linklocker (which we have not tested here) and now Keighl.com has an article on Using Protected Images in ExpressionEngine. Warning: Involves PHP.

Here’s a taste:

Here’s what we do. As long you’ve got an image library on your server (like GD, or ImageMagik), you can hide the real path to the images, and avoid the separate login box. Instead of an absolute or relative path to the image in the src parameter, just send it to a secret script that creates the image.

Poor Keighl is about to get an email from Leslie Camacho in regards to the space between Expression and Engine: it’s just the kind of service EllisLab offers. We vote to give them a pass this time for the article.

Update: Keighl has corrected the spelling. Calling off the dogs. The terrible irony being of course, we misspelled his name! Two for two today with names. My sincere apologies to you Keighl.

Posted on Aug 04, 2009 by Kenny Meyers

Filed Under: Development Tools