Secure WCF service and restrict access ?

Jun 4, 2010 at 2:18 AM

Hi,

I have one concern about the security of the WCF service. If our production address is http://192.168.1.10:9999, the address of the service would be http://192.168.1.10:9999/FileManagerService.svc, 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?

Coordinator
Jun 4, 2010 at 7: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.

Regards,

Joaquin

Jun 9, 2010 at 8:27 AM

Thanks,

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.