Click here to Skip to main content
11,712,270 members (69,213 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# WebService
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 17-Feb-13 23:09pm
Comments
Sandeep Mewara at 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 at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Check the Following link:

WCF With Authentication[^]

You might find something useful for your Requirement.

Regards.
  Permalink  

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

  Print Answers RSS
0 CHill60 335
1 Sergey Alexandrovich Kryukov 254
2 OriginalGriff 230
3 Andy Lanng 160
4 Maciej Los 130
0 CHill60 335
1 Sergey Alexandrovich Kryukov 245
2 OriginalGriff 230
3 Andy Lanng 160
4 Maciej Los 130


Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | Last Updated 18 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100