Secure WCF service and restrict access ?

Jun 4, 2010 at 3:18 AM


I have one concern about the security of the WCF service. If our production address is, the address of the service would be, and this service address would be exposed to other application. Say, if we create a new project and point to that address, we can see all the methods provided by the service.

So is there any way to avoid this and allow our trusted application to use the service?

Jun 4, 2010 at 8:54 AM

Hi Back,


I thought of this earlier, but I didn't have time/need to implement it. We use it in a firewalled envieronment.

You could use some kind of username password combo to authenticate the service and in the SLFilemanager have these send along when calling the service.

Hope this answers your question, I know it does not solve it. Maybe someone can help us/you out.



Jun 9, 2010 at 9:27 AM


My system require user log in, therefore, i searched and used  HttpContext.Current.User.Identity.IsAuthenticated intead.

Could you please help to explain a little bit about the Dispatcher used? This is new to me.

Thanks a lot.