• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

WCF Service In Password Protected Folder

M

MichaelFr

Guest
Plesk PRODUCT, VERSION 10.4.4, OPERATING SYSTEM Windows 2008 64bit x86, ARCHITECTURE Plesk Panel.
---------------------------------------------------------------

Hello,

I am trying to set up a WCF service in a password protected folder. I have the same WCF service in another unprotected folder and it works fine. However, I cannot connect to the service if it resides in a password protected directory. I have set my bindings to use basicHttpBinding and I am not using any security on the binding. When I try to add a service reference to my client it prompts me for a username and password. When I supply the credentials, it always gives me the same error: "The request failed with HTTP status 403: Forbidden. The HTTP request is unauthorized with client authentication scheme 'Anonymous'". After this happens the entire site is locked out, for an hour or so, for my IP address. I am connecting using HTTP protocol.

I can connect to it through a browser with no issues. Below I have posted the binding settings for my web.config for the service. However, it does not seem to matter what my settings are. One more side note, that if I remove the password protection and disable Anonymous access it works when I enter my credentials using Windows authentication.
Any help on this would be greatly appreciated. Thanks in advance.

<binding name="ProdBasicHttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00">
<security mode="None" >
<message clientCredentialType="UserName"/>
<transport clientCredentialType="None" />
</security>
</binding>
 
Last edited by a moderator:
Back
Top