OpenBD – for remote proxying

The standard CFCONTENT tag has had the file=“” feature from the start.  This is where you can pass in a local file and have it sent to the client.  Extremely handy when you are giving a client access to a file that may not be in the webapp directory or if you want to add extra security or logging to a given file before sending to the client.

Why limit it to a local file though?   There are instances where you would want to do the same thing but with maybe a URL or an Amazon S3 object.  For the URL there are times where you may want to fetch an internal only resource and send that out, or with S3, add extra logging/security without having to fetch it first to the server, saving as a file, and then sending out to the client.

OpenBD adds the remote=“” feature to CFCONTENT that fetches the remote content and streams it immediately to the client without buffering it on the client first.

Available now from the nightly build