Question

I have an app that makes request to a wcf service. Usually I authenticate all of the requests using a hash value that is sent in the body of the request and then authenticated on the server. All most all of the request are sent via json and it is easy for me to add the hash value to the body of the request. The issue I am facing is that when I send a file stream I cannot add the hash to the body of the request so I am wondering how I can authenticate that the request came from my app and not from some where else. All suggestions are greatly appreciated.

Était-ce utile?

La solution

Adding an authorization item in the header is a possible solution. So, if anyone is interested, read this and this.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top