question

10918804 avatar image
0 Votes"
10918804 asked RobCaplan edited

Authenticate my HttpClient

Hi,

How can I authenticate my HttpClient so nobody can go and the URLs using another client, for example browser or Postman.


Thanks,
Jassim

dotnet-csharpdotnet-xamarindotnet-runtime
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Authorization is the mechanism that allows/denies access to a resource. There are many approaches to secure HTTP resources. I recommend starting with the standard docs to find an approach that best fits your security requirements.

Authentication
Authorization

There is a lot to read. Be sure to read the left side navigation links.






0 Votes 0 ·

1 Answer

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered

Authentication just verifies the user, not the client application. Once you publish a web site, it’s an open api that can be used by any tool that can make web requests.

You need to be sure the site does not allow abuse, that is don’t assume you code is calling it.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.