You need to sign in to do that
Don't have an account?

Callout security using session id
I am planning to make a callout from SF to a corporate webservice. The corporate webservice needs to verify that the incoming call is from a valid SF user in our org. I would like to authenticate without using certificates. The plan is to use Apex to pass the active SF user's session id in the callout to the corporate webservice. The corporate webservice will then use the SF API to query SF and validate the session is active and the org is correct (without logging in, just using the session id). The session expires in 2 hours and all SF users have restricted IP ranges so they can only connect to SF from our corporate network.
My concern is with that session id, a hacker spoofing the IP address could connect to SF and have the full security of the user's profile and could update SF tables through the API until the session expires (2 hours). Is this a valid concern? Can anyone improve on this?
Rich
