Link to home
Start Free TrialLog in
Avatar of mafairuz
mafairuzFlag for Oman

asked on

Is there any IFRAME security issues?

I need to use <iframe> to include an output of an aspx page from other domain into one of my php pages in my domain.  Is there any known security issues when doing this?  Or can the other domain webmasters do any workaround to hack into my server using the aspx page I'm iframing?

Avatar of maflo13gr
maflo13gr
Flag of Greece image

Since you will be putting code inside your page as an iframe there is no security issue for you.
Iframes are just pages inside pages. Moreover since you are saying that the iframe is coming from another domain you don;t need to worry for potential javascript xss/injection attack that ma occur, since an acces denied woudl arise if a js call from one element to the iframe element happened.
The only think you should worry is if they decide one day that they don't allow to you to put their aspx page in your iframe, they could prohibit that since the would see traffic coming from your site and block this traffic
Avatar of mafairuz

ASKER

so if they intentionally include any js or mysql queries in their aspx file to read my database, wont this be possible as cross-site scripting?
ASKER CERTIFIED SOLUTION
Avatar of maflo13gr
maflo13gr
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial