Iframe with connection refused

Asked

Viewed 4,871 times

-1

I have a iframethat always worked perfectly and today when loading the system it appeared that the connection was refused. Would anyone know what the problem would be? The code is as follows::

<iframe src="https://site.com" scrolling="no" width="100%"></iframe>

I’ve tried with http and httpsand both had the same return that was refused.

  • You can inform the site you are using in iframe, because there are some types of blocks that external site may use

  • I think you can only index an https iframs and a site that tb is https, if your site is http it might block the https iframe, and the same happens if your site is https and you try to import an http iframe

  • @Leonardobarros the link I’m trying to access the pagtel in which they themselves provide the link

  • @hugocsl both my site and theirs the connection is https

  • Have any more specific error message?

  • And probably you have to contact the pagtel staff to check if there is any problem in their service

  • @Leonardobarros the only message that appears is this: "The connection with www.pagtel.com.br has been refused." but I will contact them yes, thank you, thank you

  • @Leonardobarros and the strange is when I play the link in the browser it opens normally.

  • Everything indicates that there is a block on the use of iframe, maybe they indicate the use of other access methods, eg Curl

Show 4 more comments

1 answer

0

Some websites use X-Frame-Options, which is a response HTTP header that can be used to indicate whether or not a browser should be allowed to process a page embedded on another site. It’s also a way to prevent clickjacking, which is a sort of click theft, so that the user thinks he is doing an action on a particular site, but actually the clicks executed in this action are being used by the attacker, to perform malicious operations.

They are applied to the server’s HTTP header for these attacks via <frame>, <iframe>, <embed> and <object>.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.