How can a proxy be useful with Ajax?

What will be an ideal response?


The same-origin policy applies only to JavaScript and not to other programs running on a web server. This means that you can use a server-side script as a proxy to access data from another domain. In computer terms, aproxyis a server that acts for or performs requests for other clients and servers. The server-side proxy script can return the data to the client computer as it is requested with theXMLHttpRequestobject. Using a proxy remains a common technique for working around the same-origin policy to access third-party content.

Computer Science & Information Technology

You might also like to view...

Photoshop ships with a file management application called Adobe ____.

a. Explorer b. Bridge c. Manager d. FileKeeper

Computer Science & Information Technology

Spy removal programs are designed to detect and remove various types of privacy threats.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of these are valid software configuration items?A) case tools B) documentationC) executable programsD) test data

What will be an ideal response?

Computer Science & Information Technology

______________ refers to the space between characters in a block of text.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology