Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a website Widget that is called by a client side iframe from its embed code i just want to secure iframe content from the hosting site so that no one sees it and copy and paste and make it run on a unauthorized site

What I have tried:

i have tried encrypted scripts but that are not worked perfectly and could easily be decrypted
Posted
Updated 23-Feb-16 23:56pm

1 solution

You could look at

C#
Request.UrlReferrer.Authority


to ensure the request is coming from a site you allow the widget to be used on.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900