ciao a tutti, sono nuovo del forum così come sono del tutto nuovo alla programmazione per web. Avrei un esercizio da risolvere che a me risulta un tantino complicato poiché mi è tutto sconosciuto
sto cercando di muovere i primi passi da autodidatta con Javascript, ma se qualcuno sapesse darmi la soluzione con eventuale breve chiarimento ve ne sarei immensamente grato!
L'esercizio è il seguente:

Javascript Cross Domain Question

Describe the security implications, specifically what is allowed and what is not allowed, with JavaScript cross domain scripting.

Write a small Javascript program that will perform a callback to transfer data in the following parts:

Given the iFrame below, write a Javascript function that will load the following URL into the iFrame

URL: http://www.prismaserver.com/crossdom..._transfer.html

IFRAME: <iframe name="hidden" src="empty.html"></iframe>

For the data_transfer.html page, write a Javascript function that will, when the page is loaded, obtain the current date and callback to a parent function passing as its argument the date string.
Develop the callback function invoked from the data_transfer.html page that will receive the date string and display its contents within a div region on the parent web page.