<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SECURING API in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/SECURING-API/m-p/82438#M65</link>
    <description>&lt;OL class=""&gt;&lt;LI&gt;&lt;P class=""&gt;You could use a JWT (Json web token) that is generated by your UI implementations when they make API requests. JWTs require a secret code to sign them only known to the UI and the API. The UI creates a token and send it to the API which will then verify it is an authenticated request. The token has an expiration to prevent a third party, scraper, from "recording" the action and replaying them later.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;To handle the credentials I believe sites like Facebook also use oauth tokens that are created after you register your application but I am not certain. If you are getting credentials in plain text on your site and transmitting them you should be using https in any case.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;Hope that helps&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2022 06:02:25 GMT</pubDate>
    <dc:creator>JamesZimmerman</dc:creator>
    <dc:date>2022-05-03T06:02:25Z</dc:date>
    <item>
      <title>SECURING API</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/SECURING-API/m-p/82273#M40</link>
      <description>&lt;P data-unlink="true"&gt;Hy every one how I am secure&amp;nbsp; my API from multiple request and interaction during work and keep my secrecy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 15:35:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/SECURING-API/m-p/82273#M40</guid>
      <dc:creator>jhonI99</dc:creator>
      <dc:date>2022-04-20T15:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: SECURING API</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/SECURING-API/m-p/82438#M65</link>
      <description>&lt;OL class=""&gt;&lt;LI&gt;&lt;P class=""&gt;You could use a JWT (Json web token) that is generated by your UI implementations when they make API requests. JWTs require a secret code to sign them only known to the UI and the API. The UI creates a token and send it to the API which will then verify it is an authenticated request. The token has an expiration to prevent a third party, scraper, from "recording" the action and replaying them later.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;To handle the credentials I believe sites like Facebook also use oauth tokens that are created after you register your application but I am not certain. If you are getting credentials in plain text on your site and transmitting them you should be using https in any case.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 06:02:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/SECURING-API/m-p/82438#M65</guid>
      <dc:creator>JamesZimmerman</dc:creator>
      <dc:date>2022-05-03T06:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: SECURING API</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/SECURING-API/m-p/82476#M75</link>
      <description>&lt;P class=""&gt;No you can't really secure an API endpoint to only allow specific callers without locking it down so it isn't public (e.g. by IP), or you can secure the client (trusted client infrastructure). Since you can't do that with a mobile app, etc., no you are screwed.&lt;/P&gt;&lt;P class=""&gt;However, that means you have to look into other options, like instead of securing the client, secure the USER. Then it's up to the user to trust the client they are using with their password.&lt;/P&gt;&lt;P class=""&gt;Or, once you realize that the server side is the only thing that can be protected, you go full OAuth, and require the app to redirect to your trusted servers for authentication (e.g., user creds never go through app), and the user "grants" the app the ability to act in your stead with a ticket that is a stand in for an authenticated "session" (A lot like a power of attorney actually).&lt;/P&gt;&lt;P class=""&gt;OAuth inherently wants you to use very short lived tickets (a few minutes), and refresh tokens to establish a longer lived session that refreshes the real ticket after an expiration without having to task the user with logging in again to get a new one.&lt;/P&gt;&lt;P class=""&gt;And yes, you can steal those. It's essentially like cookie / session hijacking, and for the same reasons that sessions should be short lived, an auth token should be short lived.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 05:08:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/SECURING-API/m-p/82476#M75</guid>
      <dc:creator>RickyReyesmatri</dc:creator>
      <dc:date>2022-05-05T05:08:15Z</dc:date>
    </item>
  </channel>
</rss>

