Basic Authentication in REST WCF <p>I have developed one REST WCF and would like to client will use it with basic Authentication, I have hosted this service in IIS 7.0 and disabled all authentication except Basic Authentication.</p> <p>Now problem is that when call this service from any other application (in my case i am calling this from ruby command prompt) with Header "Basic bXlhZGRvbjpDcFplcUc5MzlHdDZQMEtD" although i was not able to authenticate this service.</p> <p>Make it more simple , when i will access this service (.svc) from browser due to basic Authentication it will prompt to enter username &amp; password , so which residential i need to pass here and to which credential i need to compare (weather i need to set in web.config or IIS)??</p> <p>Thanks in Advance Arun.</p>