0
Answer

Consume a .htaccess-proctected webservice in C#

Martin Thern

Martin Thern

17y
1.8k
1
Hello! I'm building a webservice in PHP, which is protected by a .htaccess and .htpasswd-file at my Apache webserver. I thought this was a pretty simple way to protect my webservice. But this gave me some trouble. How do I handle this type of protection when I implement my client, which is a Windows application build with C#. I have spent many hours trying to figure this out, and searched on this, without any luck. So I'm asking you, how can I make this work. Or is it even possible? Regards, Martin Thern