简体   繁体   中英

How to Secure wcf Services between two application hosted on same machine

enter image description here

I am having Two Application. Assume First application name is AAA and second application name is BBB. The Application with name BBB are having wcf services. Now i dont want to my wcf services to application AAA . In other words I want to prevent the application AAA consuming my wcf services . These two application are hosted on the same computer. Apart from authentication and authorization what else can be used. Any url or help is much appreciated.

For better understanding I have attached my image

You can try to add some extra logic to WCF Service or BBB. To check the where the incoming request from, if it's from localhost/samemacine, then decline it. Not quite sure how many NICs are there in your server, if there's only one and this approach could be doable.

But, I think the authentication/authorization is the best way to get there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM