Click here to Skip to main content
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 18-Feb-13 0:09am
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)



Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 18 Feb 2013
Copyright © CodeProject, 1999-2014
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