Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7495363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:03:46+00:00 2026-05-29T18:03:46+00:00

I remember reading about domain A being able to control domain B if domain

  • 0

I remember reading about domain A being able to control domain B if domain B has a helper frame inside it. I have pages like StumbleUpon, where I place other websites in iframes. What if one of those websites place my page in an iframe? Also, stuff like Facebook’s Like button and Twitter’s Tweet button are all iframes. What data would/woudn’t that have access to?
Would they be able to inject scripts into my page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T18:03:51+00:00Added an answer on May 29, 2026 at 6:03 pm

    No, they can not access other domains cookie.

    No matter where you hide an iframe with different domain, browser will always send cookies that were set for that specific domain.

    Like button can be created utilizing Referer header.

    Say, http://domainA.com/index.html contains

     <iframe src="http://domainB.com/like.html"></iframe>
    

    Here when http://domainB.com/like.html is called inside the iframe an HTTP header Referer: http://domainA.com/index.html is sent along with the request. This way domainB.com/like.html always knows who is requesting. When domainB.com got this little piece for information it can just check the number of likes of the page and show the result.

    A live example

    Put the bellow code in any of your websites. After that every time you refresh the the website it’ll show how many times its loaded. It’ll count the number of hits.

     <p>This page is viewd 
     <iframe 
          src="http://tools.cmyweb.net/hitcounter.php" 
          frameborder="0" 
          scrolling="no" 
          width="40px" 
          height="16px" 
     />1</iframe> times</p>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I vaguely remember reading about a programming exercise where objects are drawn on the
I vaguely remember reading about this a couple of years ago, but I can't
I seem to remember reading something about how it is bad for structs to
I remember reading a post about a year or so ago by Scott Hanselman
I remember reading a blog post about a group that had taken a branch
I remember reading somewhere on the internets about a half-assed tiny django CMS app,
I remember reading in some Java book about any operator other than 'instanceof' for
I remember reading about the double pipe operators -- ||> and <|| -- somewhere
I seem to remember reading about a function that could be used to make
I remember reading an article about a shorthand version, or extension, of HTML a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.