Reputation: 1973
I've been asked to write a WCF service which exposes some of our vehicle stock to our other websites.
The only calling clients will be web pages which will be hosted on the same web servers as the WCF service itself.
I'm having real trouble understanding the authentication options (which will be username and passwords stored in SQL) in order to authenticate but also how to limit the service just only be called by our website(s).
I want to limit the service to only be called by sites on the same servers, can I restrict the service to only be accessible by 'itself' and would that address be 127.0.0.1?
I've read loads of articles about this aspect of WCF services and I'm totally baffled.
Any help would be greatly appreciated.
Thanks
Upvotes: 1
Views: 526
Reputation: 19311
If your WCF services are IIS-hosted, you can put IP based restriction, like this.
Upvotes: 0
Reputation: 842
Use the Net.NamedPipes binding. It only supports local-machine connections.
Upvotes: 0
Reputation: 34844
This is slightly old, but I still think WCF IP Filter applies to what you are trying to do.
Upvotes: 1