How to Build an Open Enterprise with Extensible—yet Secure—APIs
With the rise of cloud computing, mobility and the Internet of Things, application programming interfaces, better known as APIs, have become enterprise IT’s raison d'être.
With the rise of cloud computing, mobility and the Internet of Things, application programming interfaces, better known as APIs, have become enterprise IT’s raison d’être. And lots of companies are leveraging API technologies to offer richer, more dynamic and better performing services to customers.
However, API-enabled information exchange brings increased risk. These external APIs inherently require soft perimeters; otherwise the information exchange between systems that APIs enable could not occur. To mitigate those risks, many enterprises are investing in several new approaches: improved authentication that facilitates, yet protects, machine-to-machine communications; a gateway that can block malicious threats while still enabling an open ecosystem of application development; and a portal environment that fosters engagement and collaboration among developers both internally and externally but still maintains control over API use. You can learn more about securing your APIs from the CA Technologies eBooklet, “Five Simple Strategies to Securing your APIs”.
Authentication ensures that it’s the right people and devices using the set of APIs that make up an application — whether mobile, cloud or Web. Yet it doesn’t make sense for the user to authenticate each time an API is called, or you’ll kill the user experience; authentication needs only happen once if identity and access management is built into the API communication model. There’s a protocol, Open Authentication (OAuth), that enables this. Instead of a user simply putting in a user name and password, tokens are used. One OAuth token can be shared between different mobile applications, for example, and the authentication happens behind the scenes, on behalf of the user, to enable machine-to-machine communications.
When a major air carrier wanted to improve its mobile apps that let travelers check in and access mobile boarding passes, the company realized it would have to expose its applications and data to both internal developers and select external partners using APIs. But the airline had concerns: It wanted to ensure the APIs wouldn’t be compromised. The company is using the CA Layer 7 Gateway to secure, manage, and regulate any mobile API request that comes to their backend services and systems.
The CA Layer 7 Gateway abstracts information services and exposes them as APIs to internal and third-party developers who can incorporate functionality and data within the applications they build for handheld devices, online portals or commercial websites. The CA Layer 7 Gateways perform actions on every API request originating from a third-party developer, such as authentication. Consumer experience is critical and the gateway ensures fast response by aggregating multiple API requests at the gateway where bandwidth is high. The gateway coordinates data capture across the back-end systems and sends a lightweight response to the app. In cases where data is used repeatedly, the gateway cache will respond without taxing back-end systems.
The consumer experience is critical, but the enterprise must also protect information from threats while still enabling an open ecosystem of application development. Firewall functions, such as those offered in a CA Layer 7 Gateway, monitor things like the XML streams coming in and are able to filter out any known attacks against system, including denial of service attacks, to help ensure availability and responsiveness of important apps.
Finally, as the number of APIs grows along with the numbers of developers using them, enterprises need a way to manage and control access to the APIs. The CA Layer 7 Portal helps foster creation among developers both internally and externally but still maintains control over API use. For example, the Portal provides a list of APIs available to each developer, a document describing how to use it, a dynamic test capability and automatic code generation for various programming languages. Once in use, the business uses the API Portal to see which partners or mobile apps are using the APIs to identify how to best utilize future development or perhaps send a bill for data usage.
An open enterprise—enabled by APIs that are secured and managed—is the only way to succeed in today’s mobile, cloud-enabled, and interconnected world.