Web Service Authentication

M

mazdotnet

Hi guys,

I'm writing a web service and I don't know how I can secure it by
forcing our clients to use a username/password. I've used SalesForce a
lot and they ask for a username/password once and any subsequent calls
you don't need to authenticate anymore. How can this be done in
asp.net (C#)?

Ex.I make a call

result = Object.Connect (username, password)
all my other calls I would send result in the method???

Thank you
M.
 
B

bruce barker

this is usually done by having a login method that returns a token. this
token is then a parameter to all other calls.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top