nickr wrote:I'm trying to figure out whether I should forbid <FRAME> & <IFRAME>. These are allowed on a default NoScript install.
Some concessions to best safety have been made so that novice users don't become discouraged and disable NoScript as soon as a page breaks.
(This has happened a lot over the years.)
The maximum safety is achieved by checking *everything* on the Embeddings tab, though that will involve selectively allowing various things at various sites.
There is always a trade-off between security and convenience. If everyone were honest, we wouldn't need locks on our doors and keys in our pockets, right?
nickr wrote:I read the FAQ on this. But it makes it sound like because of NoScript updates I can enable <IFRAME> without any problems.
It says that you should enable IFRAME *
blocking*.
Furthermore, since clickjacking became popular, enabling it (( IFRAME blocking)( is probably a good idea
nickr wrote:Will there be subtle breakage if I forbid both Frame and iFrame on a system that allows scripts globally but applies all embeddings to whitelisted sites? Or will any breakage be obvious and immediately apparent?
If a page works as desired, then there isn't a problem or a decision to be made.
If a page doesn't do what you expect it to do, note that the NoScript logo is no longer solid blue. It's shaded, or part red, or all red.
You should also see a placeholder (red NoScript block-logo), depending on your settings in NS > Options > Embeddings:
"Show placeholder icon"
"No placeholder for objects coming from sites marked as untrusted".
Open the menu and point to Blocked Objects to display the list of frames and other code objects that are being blocked.
Or hover the mouse pointer over said placeholder, and read the tooltip that identifies the blocked object and its source.
Observe their source, then determine whether you trust that source and wish to allow it.
Hint: If it isn't necessary -- if the page works without it -- no need to allow. Those that have "ad" or "ads" in the name are rarely necessary.
What's the difference between Frame and iFrame?
Nothing that affects your decision-making. Not being condescending; just trying not to get too technical in the reply.
Something is either trustworthy or it isn't, no matter what kind of code, script or object.
More info is available, should you like.
when would I forbid one but not the other?
As said, I block them all by default, then enable those that are necessary at sites that I trust and from sources that I trust.
Thanks
You're very welcome.
If you have specific examples -- URLs and what objects are trying to run, or what's not working on the page -- feel free to post them.
Also, as you become more comfortable with this powerful protection, try unchecking "Scripts globally allowed".
It isn't really all that hard to get used to creating a whitelist or temp-allowing sites, and there are plenty of resources to help you: the
NoScript Quick Start Guide,
NoScript FAQ, searching this forum, and, if those don't answer your questions -- us.
