As of May 31, 2020, Apigee will no longer sponsor hosting of Drupal 7-based developer portals (D7P). Prior to this, starting on May 31, 2019, Apigee will no longer provision Drupal sites for customers.
Developer portals are expected to give flexibility and control to the developers and keep users’ data secure on a daily basis.
In our previous blog - Should You Migrate Your Developer Portal To Drupal 8? - we detailed on the security challenges your Drupal 7 developer portal could face, after all, security is important.
In this blog, let us understand the best action plan you can take to secure your developer portal.
Action Plan to Secure Your Developer Portal
As a service provider, you have developed a set of APIs to provide access to your backend services. The announcement can put you in a fix but whatever your choice of action steps, ensure the end result can:
- Keep your data secure
- Should not hamper the current flow of work
- Should be able to integrate with Apigee
Currently, you have three options in place:
- Remain on Drupal 7 and assume hosting responsibility
- Move to Apigee's integrated portal
- Migrate your developer portal to Drupal 8
Remain on Drupal 7 and assume hosting responsibility
If you need (more) time to decide whether to opt for migration or not, depending on the existing running projects - you can consider remaining on D7P until you finalize on your choice.
The support of the modules which integrate Drupal 7 with Apigee Edge will not be affected, however, cloud customers would need to assume direct account responsibility with their hosting providers.
After May 31, 2020, all Apigee-hosted Drupal 7 developer portal will be decommissioned and will be unavailable. You would not be able to administer or develop any post-May 2020.
Remaining on Drupal 7 could make you vulnerable to several security concerns as discussed in our previous blog.
Move to Apigee's integrated portal
Consider moving to an Apigee integrated portal, if you have been using Drupal 7 with a minimal amount of customization or prefer an all-in-one solution.
It is integrated directly into Apigee Edge and includes a powerful API catalogue and a compelling markdown-based CMS with robust audience management tools.
However, if you are someone who has leveraged the functionality of Drupal 7 in conjunction with a high degree of customization and investment in crafting a specific developer experience, then you should consider switching to Drupal 8.
Migrate your developer portal to Drupal 8
Drupal 8 remains to be a compelling option for those who wish to remain on Drupal for their developer portal. It is the option preferred by the customers to head towards a self-managed developer portal and as a path forward to leverage the latest functionalities of Drupal.
There is a host of functionalities in Drupal 8 which makes it a better option from the three. It is more secure than Drupal 7, more features than on Drupal 7 and proves to be an ideal option for the developer portal to be built on. Let’s learn about them.
Your Drupal 8 Developer Portal will be Secure
Here is a list of new features introduced in Drupal 8 which aims to enhance the security of your developer portal:
- Twigs: A new theming layer which comes with a whole bunch of security features.
- Configuration management: You have a list of all configurations of your site in your code so as to let you know what all settings have been changed and who is responsible for that, when and why and to know what all settings have been changed.
- No PHP filter: Simplifies the process by allowing developers to code inside a node.
- Session IDs hashed: Now session IDs in the code are hashed, so even when the session IDs are known, the sessions cannot be hijacked.
- Trusted Host Patterns: Code knows when it is in a trusted environment and alerts when it is not.
- Single Statement Limitations to DB queries: Doesn’t allow multiple statement query in a single database.
- Mixed Mode SSL removed: Implying the SSL will be used anyway and is no way an option now.
- Automated CSRF token protection: Able to detect if the forms have cross-site scripting going on.
Some Best Practices To Mitigate API Threats
To secure your digital property from any possible threats, you need to follow certain best practices to ensure safe usage of APIs and prevent any critical customer information leakage.
- Encrypt the APIs: Decrypting the API keys by authorised users will protect the critical data from being misused.
- Ensure Role-Based User Authorization: Authorizing registered users as per roles to access APIs can work to identify a user and classify them as per varying levels of permissions.
- Allow only Registered users: The first and foremost step is to authenticate users using the API in order to protect information. It becomes easy to track the API usage and identify who is making what request.
- Deploy Rate Limiting: It can detect and prevent an unusual number of requests from a given user at a given frame of time. In an exceptional case, wherein the attacker manages to bypass your encrypted authentication and authorization protocols, rate limiting can prevent your API from being compromised.
- Build Security in Layers: If the above steps don't work, try adding an extra level of security through an outer firewall.
- Security is required in back-end too: Another checkpoint on the way out of the network can thwart the attacks is to secure the system down up so you can track him down on the way out.
Srijan Can Help
Srijan is committed to providing customized developer portal to help you attract and engage developers with a comprehensive, customizable developer portal that offers a seamless onboarding experience. We offer secure migration of your existing developer portals to Drupal 8.
Want to upgrade your developer portal? Let’s start the conversation.