i am created WCF service and consumed that service at client application(web application) it is working fine. but I am trying to implement security to WCF service to not consuming/restrict the service at client side for other users,i am using basicHttpBinding.
please find the client web.config code below,
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_WCFService" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost/ WCFService.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IWCFService" contract="WCFServices.IWCFService" behaviorConfiguration="endpointCredentialsBehavior"
name="BasicHttpBinding_IWCFService" >
</endpoint>
</client>
Any help would be appreciated.