W
W
WebDev2017-11-01 16:23:30
HTTP headers
WebDev, 2017-11-01 16:23:30

Prevent iframe from showing on certain sites?

Can you tell me how to prevent my site from loading via iframe only for certain sites?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RidgeA, 2017-11-01
@RidgeA

check the hosts header of the request and match against the denied list

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question