Quick Tip: Serve Parse Files via HTTPS

Trying to serve your Parse files via SSL/HTTPS? You’ll notice that you can’t force it, and Parse doesn’t support this via their file URL scheme. But you can use the same trick Parse uses on Anypic.

Replace http:// with https://s3.amazonaws.com/.

So if you start with this:


The final url will look something like this:


In ruby, that’s:

url.gsub "http://", "https://s3.amazonaws.com/"

In JavaScript:

var url = // your url...
var subbedUrl = url.replace("http://", "https://s3.amazonaws.com/");

Boom - fully secure Parse files.

You’re welcome.


Now read this

The Terror of Facebook and the Endless Social Network

They died. I have seen these words on my screen countless times. I fear them, in many ways, as they seem to hit closer to home all of the time. Fear of death isn’t irrational - I know that when someone I love dies, it will be painful. It... Continue →