redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Thursday 18 October 2018 20:06

Ask your IT question here

How can i access data on a iframe



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> JavaScript forum
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
montanarry so this is 100% impossible ?
Reply with quote
 
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 Wink

Reply with quote
 
froomzer
Enthusiastic Coder


Joined: 23 May 2006
Posts: 148
What if i want to access data on remote iframe in MY page ?
Reply with quote
 
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
The iframe results are based per ip
Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo