Jump to content

Recommended Posts

Hello PHPFreakers,

 

Ive built a webpage dashboard that allows you to add "widgets" much like iGoogle (or Geckoboard - on an interface level).

 

Now iGoogle (as does Facebook) uses iFrames to serve up these 3rd-party Apps or widgets.

From my research they do this because it makes the Apps more "secure" in the fact they cannot directly access the sessions and cookies set on the igoogle or facebook domain and instead are forced to use the full API process, also helping guard against apps changing the user_id cookie and therefore allowing API access to other data.

 

Now, from my point of view this is somewhat restrictive because: I allow full screen apps, if I was to use iFrame the navigation or control bar would have to be appended to the main BODY of the site as it could not be injected into the iFrame. So what happens when the App/Widget needs to add controls to said bar ... it can't. If you were to add the bar to the iFrame, the site then cannot inject the control bar with the options (forcing a developer to use them).

 

Any ideas on how any/all of this could be overcome?

 

I know of jquery.append and load but would this all really be that secure and safe given all of the above? And why do iGoogle and Facebook then not use these technologies?

 

Look forward to discussing more with all of you :)

 

[side note: Widgets must be pre-approved, same for updates, must use an oAuth/RESTful API and conform to certain standards. - Just in case that is any use when discussing :)]

 

Thanks

Where exactly are we discussing PHP?

 

This is entirely protocol-level communication and security, and has little to do with PHP.

 

This topic's going to get moved as well unless you want to discuss PHP at some critical stage.

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.