DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • AWS Community Hub
    • CloudBees
    • IT as Code
    • Perforce DevSecOps
    • Rocket on DevOps.com
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Media Kit
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
  • AI
  • Cloud
  • Continuous Delivery
  • Continuous Testing
  • DevSecOps
  • Leadership Suite
  • Practices
  • ROELBOB
  • Low-Code/No-Code
  • IT as Code
  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » API Security by Design

42Crunch API security ASCI

API Security by Design

By: Stephen Withers on May 25, 2021 Leave a Comment

“APIs are nothing new,” said Secure Code Warrior co-founder and CTO Matias Madou, but they have recently become more widely used.

And where they were once a local mechanism, they are increasingly used in a distributed manner, partly because of changes to application architectures. Another reason is that users are increasingly likely to access systems from outside the organization, whether they are customers, suppliers or employees working at home.

Potentially anyone and anything can access an API, so developers and architects should therefore assume that APIs are exposed, and treat requests accordingly.

This means addressing issues such as authentication and authorization, and generally ensuring that the only data exposed by the API is the data that’s supposed to be exposed.

So assume every API call is malicious, suggested Madou.

Start at the Beginning

Achieving API security starts with the design and architecture, so jumping in and writing code immediately is a mistake. Unfortunately, starting with a completely blank slate is unusual, and some code will likely already exist. In that case, it is especially important that the design makes provisions for possible weaknesses.

If you want secure APIs, then ensure that everyone working on the project – architects, developers, testers and so on – are “very security savvy,” said Madou.

The need to improve skills is often triggered when the company or one of its competitors experiences a problem.

So teams should work to identify any existing problems, realize they need to proactively avoid the underlying issues, and undergo appropriate training, he says.

The trouble is, “security and developers are not often the best of friends,” Madou said. So, developers tend to think that security is the responsibility of their security colleagues. But there should be a common goal: making reliable and secure software.

“Security needs to help developers,” he said. One way of achieving this is to appoint a ‘security champion’ to act as a bridge between the security and development teams. An embedded security person can help developers realize that security is an enabler, not a blocker.

Help When Help’s Needed

Embedding communication from the security team into developers’ workflows is another part of the process. Slack is one possible conduit. Security people need to be wherever developers discuss issues. Then, they can take advantage of opportunities to say things like, “it looks like you’re having problems with SQL injection. Here’s some training material that might help.”

Developers live in their IDE, so that’s where integration should occur. But design such systems to help developers, not to control them. “Developers are people, not robots controlled by machines,” Madou warned.

Another consideration is that it’s important to avoid unnecessarily interrupting developers. Such systems should therefore predict what a developer is about to do and deliver appropriate guidance.

For example, if someone codes a database connection, the system could offer the statements that securely retrieve information. Then, the developer can copy and paste them instead of starting from scratch each time. Using new code every time carries the risk of introducing vulnerabilities.

“It’s tricky to make these systems,” Madou admited, but he predicted they will become increasingly common in the coming years.

Recent Posts By Stephen Withers
  • Consider Telemetry When Rearchitecting Applications
  • How To Address DevSecOps Skills Shortages
  • SOFIHUB Relies on DevOps to Support Independent Seniors
More from Stephen Withers
Related Posts
    Related Categories
  • Blogs
  • DevOps Culture
  • DevOps in the Cloud
  • Features
    Related Topics
  • API
  • API security
  • APIs
  • devsecops
Show more
Show less

Filed Under: Blogs, DevOps Culture, DevOps in the Cloud, Features Tagged With: API, API security, APIs, devsecops

Sponsored Content
Featured eBook
The 101 of Continuous Software Delivery

The 101 of Continuous Software Delivery

Now, more than ever, companies who rapidly react to changing market conditions and customer behavior will have a competitive edge.  Innovation-driven response is successful not only when a company has new ideas, but also when the software needed to implement them is delivered quickly. Companies who have weathered recent events ... Read More
« WANdisco Deepens Product Integration with Databricks to Accelerate Time to Value for Cloud-Scale Analytics

TechStrong TV – Live

Watch latest episodes and shows

Get The Top Stories of the Week

  • View DevOps.com Privacy Policy

Upcoming Webinars

Managing Hybrid Container Workloads with ECS/ECS Anywhere
Tuesday, May 25, 2021 - 3:00 pm EDT
Fireside Chat: Integrating Security to Boost Innovation in DevOps
Wednesday, May 26, 2021 - 11:00 am EDT
How to Orchestrate Your Data Pipeline with Automated Data Transfers Between Kubernetes and External Data Sources
Wednesday, May 26, 2021 - 1:00 pm EDT

Upcoming Webinars

Tue 25

Managing Hybrid Container Workloads with ECS/ECS Anywhere

Tue, May 25, 3:00 pm - 4:00 pm EDT
Wed 26

Fireside Chat: Integrating Security to Boost Innovation in DevOps

Wed, May 26, 11:00 am - 12:00 pm EDT
Wed 26

How to Orchestrate Your Data Pipeline with Automated Data Transfers Between Kubernetes and External Data Sources

Wed, May 26, 1:00 pm - 2:00 pm EDT

More Webinars

Past Webinars

Latest from DevOps.com

API Security by Design
May 25, 2021 | Stephen Withers
Automation is Needed for Reliable Cloud Platforms
May 24, 2021 | Mike Tria
The Importance of NetSecOps in Network Management
May 24, 2021 | Tsippi Dach
Tiering Cold Data to the Cloud Without Tears
May 21, 2021 | Kumar Goswami
Three Ways Machine Learning Can Change Incident Management
May 21, 2021 | Ajay Singh

Most Read on DevOps.com

The Future of Low-Code is Open
May 20, 2021 | Mayur Shah
Le Morte d’Arthur— A DevOps Engineering Journey
May 20, 2021 | Marc Hornbeek
Our API Mess is Coming
May 19, 2021 | Don Macvittie
Best Practices for Building Next-Gen Software Teams
May 19, 2021 | Juan Hoyos
Unqork Extends Automated No-Code SDLC Platform
May 20, 2021 | Mike Vizard

On-Demand Webinars

DevOps.com Webinar ReplaysDevOps.com Webinar Replays

Download Free eBook

The 101 of Continuous Software Delivery
New call-to-action
  • Home
  • About DevOps.com
  • Meet our Authors
  • Write for DevOps.com
  • Media Kit
  • Sponsor Info
  • Copyright
  • TOS
  • Privacy Policy

© 2021 ·MediaOps Inc.All rights reserved.

Our website uses cookies. By continuing to browse the website you are agreeing to our use of cookies. For more information on how we use cookies and how you can disable them, please read our Privacy Policy.