| View previous topic :: View next topic |
| Author |
Message |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
How can i access data on a iframe ?
i need access the data in a iframe that is a remote url
Reply with quote
|
| |
|
|
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
|
If that was possible then you could point (for example) the iframe at your visitor's bank website and read lots of information about their account. Cross domain scripting is a no-no.
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
jomanda Enthusiastic Coder
Joined: 19 May 2006 Posts: 70 Location: Germany
|
froomzer, there is no such thing as 100% ...
but it is something you just DO NOT WANT to happen
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
|
With client side JavaScript runing at the standard security level when both sites are on the WWW baring browser bugs - it is impossible.
Do it server side.
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
Server side is not ok,
The content i want access, is affected per ip
So if i alter it server side, is not the same as the user side content would be
Reply with quote
|
| |
|
|
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
|
froomzer, Its your site. Add some means to override the ip in the request.
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
|