Click here to Skip to main content
15,911,848 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi every body

I want control access to my web service by getting username and password when every body wants to call my web service.

How I can do it?

Thanks A lot
Posted
Comments
Sandeep Mewara 18-Feb-13 9:42am    
What - get username/password when service is requested. What does that mean? Do you want to implement authentication for service?
Reza Alipour Fard 18-Feb-13 14:11pm    
I have a web service, that every one can call it and send data by this web service. I generate a username and password for some people that have permission to call this WS and send data to me.
Therefore I need get this user and pass when every one want request WS(Create session) I can detect it.

Check the Following link:

WCF With Authentication[^]

You might find something useful for your Requirement.

Regards.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900