DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. Databases
  4. API Security Weekly: Issue #17

API Security Weekly: Issue #17

This week, we are mostly discussing best practices and tools for API security.

Dmitry Sotnikov user avatar by
Dmitry Sotnikov
CORE ·
Feb. 08, 19 · News
Like (4)
Save
Tweet
Share
14.87K Views

Join the DZone community and get the full member experience.

Join For Free

This week, we are mostly discussing best practices and tools: the best methods to pass API keys and other sensitive data, tools that attackers use to discover APIs, and why API security is never set-and-forget.

Risks

Never put API keys or other sensitive information in URLs and query parameters. These are visible to browser extensions, server logs, browser history, shared links, and the referrer. Always use headers or POST method instead. See this article by Paris Mitton for details.

Tools

According to Akamai’s Tony Lauro, 83 percent of web traffic is API traffic. Although this may not necessarily be the best way to track API usage (traffic is significantly skewed by streaming applications like Netflix), it does show how APIs are starting to power pretty much everything we do online.

In his article, Lauro talks about how APIs are also becoming increasingly hard to hide from attackers. He discusses some of the tools that attackers are using, including:

  • Fierce.pl
  • Certificate Transparency Logs
  • GitRob

Best Practices

Andrew Useckas, CTO of ThreatX, has written a blog post that lists and explains his key points for building and connecting security-friendly APIs:

  1. Strong authentication
  2. Short-lived tokens
  3. TLS transport encryption
  4. Standard authentication and authorization on every endpoint
  5. Sanitized user input

Opinions

ComputerWeekly has done a fascinating interview with Andrew van der Stock (Synopsys and OWASP). Andrew argues that API Security cannot be “set-and-forget”:

  • API security needs to become part of API development and testing.
  • Protection needs to be a part of API design.
  • Full monitoring must be an integral part of runtime.

You can subscribe to this weekly newsletter at https://APISecurity.io

API security

Published at DZone with permission of Dmitry Sotnikov, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Top 5 Java REST API Frameworks
  • Stream Processing vs. Batch Processing: What to Know
  • Quick Pattern-Matching Queries in PostgreSQL and YugabyteDB
  • Building a Scalable Search Architecture

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: