robbestad / react-iframe

Simple solution for using iframes in React
ISC License
436 stars 79 forks source link

Hide Iframe URL in the browser HTML #116

Closed asanoop24 closed 2 years ago

asanoop24 commented 2 years ago

Is there a way to hide the iframe url shown in the src tag inside the browser html? I don't want the user to be able to take the url and open it directly in the browser bypassing my app.

robbestad commented 2 years ago

Not possible. You'd have to point to a resource with a access control filter that disallows hot linking.