Blog

Web design | Digital Marketing | SEO | Campaign Management | Advertising | Social Media Marketing | PPC

Set up CORS Headers for Static Content Pages Using Htaccess File

So you want to do something cross domain with javascript without running into the security error preventing cross domain nasties. Nasty hackers could easily plant some DOM manipulating javascript in your domain from theirs. Should be noted that trusted domains can also get compromised its an imperfect world. However at some point we have to enable some trust and we choose to do it perhaps with a particular domain or subdomain.

Continue reading
  5134 Hits
  1 Comment
Recent comment in this post
admin
The advantages of using CORS is that you don't need to proxy in data (server side) for example using php curl [This then places th... Read More
Saturday, 22 February 2014 10:42
5134 Hits
1 Comment