I have a product that will run inside iFrame, and any website can run this iFrame. How can I know the parent URL from inside the iFrame (cross-browsing) to make sure that that website bought my product.
or, Is there any alternative idea to make sure that just subscribed websites can run my iFrame?
I tried messaging cross different domains but it didn’t work because it can simply be spoofed.
New contributor
Ahmed Azzeidat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.