WCF hosted in Windows service security RRS feed

  • Question

  • I've created WCF service hosted in windows service 

    from this example

    I have to open port 8000 on the computer where windows service is running, so other computers on local network can access and consume this WCF hosted service.

    Is it possible for someone outside our local network to hack into my pc because I opened port 8000?

    Why should I use port 8000, isn't it easier to use port 80, so I dont have to enter port in my endpoint?

    Tuesday, April 9, 2013 8:01 AM


  • It is quite feasible to use port 80 to avoid port number in end point.

    Your intranet firewall should handle any hacking. check with the administrator.

    when the service is hosted on local service, it is only available with in local intranet users/developers.

    It is quite feasible to restrict that access i.e., granular access to specific developers by adding IP address of the developers machine to Allow list in IIS as discussed in this thread.

    Apriori algorithm [association rule]

    • Marked as answer by wartmignef Wednesday, April 10, 2013 11:04 AM
    Tuesday, April 9, 2013 10:25 AM