Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is a iframe src requested from the user's ip address or the website servers ip address?

Is a iframe src requested from the user's ip address or the website servers ip address?

I suspect this is from a users IP, but can anyone confirm?

Thanks,

  • Dane
like image 872
teamdane Avatar asked Jan 26 '11 16:01

teamdane


2 Answers

Iframe content is requested from the user side (e.g. by the browser).

P.S. The website server would request content if it was doing some sort of server side include (which has nothing to do with iframes but is a feature of some web frameworks depending on the web server and the framework itself). An example of this is SSI include directive or EmbPer's Execute(). In that case the user's browser wouldn't even see the included URL, but only the content included into the HTML by the server.

like image 176
DVK Avatar answered Sep 20 '22 13:09

DVK


Yes it is requested by the users's browser.

It is just like you say the browser to read a website like any other but then to display it within the iframe borders.

like image 22
Lennart Koopmann Avatar answered Sep 23 '22 13:09

Lennart Koopmann