Requesting a website by client side script = Cross Side Scripting Hack. But requesting a website by

Posted by 1s2a3n4j5e6e7v on Stack Overflow See other posts from Stack Overflow or by 1s2a3n4j5e6e7v
Published on 2010-06-11T13:21:01Z Indexed on 2010/06/11 13:22 UTC
Read the original article Hit count: 291

Generally, when we want to show the contents of some web page in the same page, we go for ajax requests. If say, I request to a web page in different domain with AJAX, it is not allowed because of the Cross side scripting error. But why is it allowed to access via a server side page. For e.g. we can use CURL in php to access any site.? Why is this feature OK for server side scripting and NOT OK for Client Side Scripting?

© Stack Overflow or respective owner

Related posts about server-side-scripting

Related posts about client-side-scripting