api - Obtaining a user's log in state for a Facebook Iframe App -


After creating a Facebook iframe app, the parameter passes to apply the Facebook pass parameter as a field within the query string Which is called FBI_sig, which is a unique signature that can only be made by Facebook.

The problem I am facing is that I can easily attach the query string to my application URL and I can use this application from anywhere on Facebook. Methods that Facebook APIs examine GET parameter / Kuki only for some values. Is there an API method that can actually return a Facebook user's logged-in status (which does not retrieve the parameter or cookie).

In my opinion this is a big security flaw because no one can track the requests of browsers and get a query string to access another user's account. Also the fb_sig parameter provided by Faby does not expire, so it can always be used to pass verification.

I thought about checking the HTTP_REFERER flag to ensure that the request is only coming from Facebook, but many people can SPOOF the referee and it can also disable any suggestions or Solution?

will return a user's uid . If the session is not running, you will not get a valid ID again.

Unfortunately, with the passage of the session, the flaw that you describe is not limited to Facebook, it is the nature of the WWW. The Any site that is based on your authentication on sessions is subject to the same defect, which you describe, whether the session token is being passed through the URL or the cookies if If you manage to regain session ID in any way (sniffing), it's still open, so whichever site you can use using that session ID is free to access it when till That may not be in place of some other type of security.

> The only real nature of HTTP security is SSL-encrypted communication.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -