how too validate if its the right user sending the request
===

basically im stuck in this situation where I need to validate if its the right user sending the request/information to the server.  For example, a user submits a delete friend request, in the url as parameters i include the friend's id(basically another member id), and should i also include the member asking for the friend delete request's id?  I'm just trying to validate or make sure its the right user sending the request...whats the best way to go about this in general.  If the user is logged in can we just validate by logged in memeber's id? Or is there a better way?