html - Determine If Loaded From Iframe Server Side No Client -


is there way server side determine if page being loaded within iframe, our stand alone page? there head or tells it's within iframe without client telling you.

not really.

if page being loaded in iframe, url of parent frame in referer header (unless referrer policies prevent being sent). however, same thing happen if page being loaded result of user clicking link on source page -- there's no way tell 2 apart server side.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -