Using Source Maps & Protecting Backing Source Code

bunnycode

Posted on
Apr 04 2014

Going through the documentation, it seems as though I need to make my source code publicly available in order to get proper source map cross-referencing working. This is a bit of an issue for me -- I'm trying to keep my source code as obfuscated as possible.

Is there any way around this? Can I set up my server to filter requests to the source map file so that only RayGun's IP can download it? Maybe a secret HTTP header of some sort?


jeremy

Raygun

Posted on
Apr 04 2014

Yes it does need to be publicly accessible for now if you want the code snippets to be available, translation itself just requires the minified file and the source map. If it helps you can IP restrict those files to 23.21.168.215 which for now is the machine which does the downloading of those assets.

Longer term are aiming to allow you upload these files privately to avoid having to be hosted somewhere.


Jeremy


Eric

Posted on
Nov 12 2014

What are the IP addresses now? I've seen 54.242.21.245 23.22.227.74


Reply