Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have to create a secure API to save data from other application. I have to add authentication as well.
Any ideas on how to best achieve the same.
Thanks in advance
Your question is to vague. When you say api and save, you want to create an api that creates new content in umbraco but this content is coming from another source?
What would be the best option to secure the api?
I am not sure what you are trying to do? If you are looking to create an api endpoint that is serving up data from umbraco then you can make use of authorised controllers see https://our.umbraco.com/Documentation/Implementation/Controllers/ the section you need is Members & Front-end Authorization you use attribute MemberAuthorizeAttribute
The API I will be creating will receive the data from an external source and I want my API to be not accessible without authorization.
So this has nothing todo with Umbraco. You need to look at https://www.asp.net/web-api/overview/security
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted