3 ms·
and if someone cracks into the cloudfront account and modifies the js... not good...
by chris_mahan 13y ago
and if someone cracks into the cloudfront account and modifies the js... not good...
- sinak 13y agoSame applies anytime you use external javascript, no? Or in fact, anytime you use AWS to host your site?
- sinak 13y agoThat being said, I can totally understand why you might not want to add third party code to your site. In that case, I think the best route is to take the html and add it to your site yourself. You can actually even host the js locally if you want. The call to our geoip server just returns json, so shouldn't be a threat: http://geoip.taskforce.is/ http://geoip.taskforce.is/ But if you want to host that part as well, it's open source too: https://github.com/tfrce/node-geoip-web https://github.com/tfrce/node-geoip-web
- chris_mahan 13y agoTrue, and this is why I am not hosting at AWS, and why I don't use third party javascript. (I have a few remnant adwords js blocks in some of my pages, but I am taking them out when I come across them.)