redirect - forbidden acces to direct page with nginx, accessible only via iframe -


i want avoid direct acces page via nginx.

i page accessible via iframe on same domain.

is possible ?

thanks.

when page loaded content of iframe request's referer set containing page, can check whether iframe content loaded inside iframe checking referer header.

of course header can spoofed pretty easily, may sufficient, , doesn't require reliance on eg javascript running clientside.


Comments