I assume your referring to an appid and secret. this should not be know by users or stored in code. at run time a verified access token should be used to fetch the values. Azure key vault or similar is a good place to store these secrets.
How to secure web api in asp.net c# (offboarding and crossboarding users.)
Deshmukh, Ashish
1
Reputation point
Hi ,
How to secure web api in asp.net c#
i want to secure the web api for offboarding and crossboarding users.
Example-offboarding : we have created one api, so we want to secure those api. suppose if a employee has left the organization and he knows the API url and API parameter, so in this case how to secure the api.
Example-Crossboarding : we have created one api, so we want to secure those api. suppose if a employee is in the same organization but he moved from one team to another team and he knows the API url and API parameter, so in this case how to secure the api.