I am working on the WCF REST Service project. The WCF REST will be set on the IIS. The service is to update the database in SQL server. The updated store procedure will get the login username and look for the id on the user table as a parameter. Therefore, the connection to SQL server must use the client’s username and password; I am not able to modify anything on SQL. The client may use website or Cell Phone to consume this Service. I shouldn’t ask the user for providing their username and password on every request in the same season. Does anyone give me an idea or example or link how to deal with this issue?
Thanks.