MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Security: Ajax on profile

Last post 04-28-2008 5:34 AM by Chak. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-27-2008 9:51 AM

    • mike
    • Not Ranked
    • Joined on 02-06-2008
    • Posts 1

    Security: Ajax on profile

    Is there a way to validate that an ajax call your making from the profile is actually comming from a myspace profile and validate whos profile its coming from? 

  • 04-27-2008 3:41 PM In reply to

    Re: Security: Ajax on profile

    Well, if you're using OpenSocial's MakeRequest function, you can set it's Authentication to Signed, which OAuth-signs the outgoing request, and also adds opensocial_viewer_id and opensocial_owner_id parameters so that you know whose profile (owner) it's coming from, and who is looking at the profile at that time (viewer).

  • 04-28-2008 5:34 AM In reply to

    • Chak
    • Top 50 Contributor
    • Joined on 01-13-2008
    • Posts 70
    • MDP Team

    Re: Security: Ajax on profile

     Exactly - please use SIGNED makeRequest() calls. There's

    Thanks Jeremy for the post.

     Chak

     

Page 1 of 1 (3 items)