tags:

views:

31

answers:

1

I have a iframe in my webpage (facebook like etc.). can i prevent a break out from this iframe?

I did not the iframe can data be read at my session / forms etc

A: 

If you're worried about security: No need. An iframe containing an external page can not read sessions, or submit forms, in the parent page. The Same Origin Policy prevents that.

Other than that: Preventing frame busting is a complicated task. See this question for some of the complexities, and a working code example for a "frame buster buster".

Pekka
thank you for this, sounds good :)
Chris