Is it possible to apply Same Origin Policy Restriction on the contents serving from sub domain Iframe to main domain? IF possible then please provide any example.
Thanks in advance!
Update-
Actually i am using iframe to serve downloads on a site. Iframe method is working fine for contents from other site but when using it with subdomain then its opening the content directly. This is my problem