Skip to main content

#145-Leveraging the Advanced Capabilities of the Gemini Ecosystem, Google Is Setting New Standards for What AI Can Achieve, by Virtue of Sundar Pichai’s Unwavering Commitment to Excellence #special

Introduction Gemini, Google's most elegant AI, is set to transform industries with its advanced technology and user-friendly solutions. Google's commitment to pushing the boundaries of AI is evident in the development of the Gemini ecosystem. This advanced AI system is designed to handle complex tasks with precision and efficiency, making it a game-changer in the world of artificial intelligence. Businesses across different sectors are leveraging the power of Gemini to streamline operations, improve decision-making processes, and drive growth. By harnessing Google's most capable AI through the Gemini ecosystem, organizations can unlock new opportunities for innovation and stay ahead in today's competitive landscape. As Google continues to refine and expand the capabilities of Gemini, we can expect even more groundbreaking applications that will shape the future of AI technology. The possibilities are endless with Google's most capable AI leading the way towards a s...

#114-How to Stop Large-Scale Quota Theft on Google Cloud Platform



Today launching an app for the global audience is a one-minute-job due to Google Cloud platform. All you need is a credit card or an account in a bank. It's the only platform which delivers steady business growth and attractive returns on investment. Corporations trust the platform with their data and users today due to the reliability and the security that it offers. The public cloud computing platform's flexibility has also made it a favorite of independent developers. It offers secure storage, a rich line-up of APIs, and friendly support. In addition to stunning storage and capable computing services, people in the industry admire the platform's ace analytics offering too. No business challenge is too tough if you are a Google Cloud customer and that is the reason corporations such as, Spotify, Twitter, PayPal, 20th Century Fox, and Target are proud customers of the platform.

Due to its popularity, its APIs are in use today in millions of apps. It is not possible for developers of software solutions to protect the API keys in all circumstances. Sometimes the solution architecture does not permit it and sometimes it's exposed due to financial reasons. If we consider the case of a chrome extension that uses a Google Cloud API and the API key is in the code somewhere, when a user downloads and installs it, he can go into the installation folder, search and find the key, and that's enough to give the IT executives restless nights. It also has the potential to bring down the shutters as the quota theft losses will far surpass the revenues. You need to put safeguards in place to prevent malicious actors from stealing quota. In this article, we are going to explain 3 steps that you can take to prevent large-scale quota theft when your API key is exposed in public.

First, you need to apply restrictions on the API key. To do that, visit the Credentials page in APIs & Services at console.cloud.google.com. Click on the API key and you will reach the API key page. In the Key restrictions, Application restrictions,  you can add HTTP referrers, that is useful when the API endpoint is being called from a content script of a chrome extension that is loaded in pages of a particular site. In case you have a serverside app, you can also mention IP addresses or a range of IP addresses in CIDR notation. There is also the option to apply restrictions in the case of Android apps (package name and SHA-1 signing-certificate fingerprint) or iOS apps (bundle identifier).

The next step is applying API restrictions. You need to restrict the API key with only the API that will be used by your solution(s). It will drastically reduce the options of the malicious actors who intend to commit quota theft. For instance, if the API key by default can be used with Chrome Web Store API, Cloud Billing API, Cloud OS Login API, Cloud Vision API, Compute Engine API etc. and you restrict it to Cloud Billing API and Compute Engine API, then it will not be usable in calls to other APIs.

The 3rd and last step is designing a perfect quota theft prevention policy and ensuring the policy is enforced. For instance, you might design a policy that, when your security team receives a Stackdriver alert on no. of successful API calls in a span of a minute, they will check the no. of API calls in the last hour, the logs, decide if a quota theft is in progress and then take a course of action.

If you want to protect your Google Cloud API based solution from large-scale quota theft, feel free to contact A Joshing Moth, a corporation that has deep expertise in design and enforcement of innovative quota theft prevention policies at affordable prices. 

Image credit: Tofros.com, pexels.com

Popular posts from this blog

#145-Leveraging the Advanced Capabilities of the Gemini Ecosystem, Google Is Setting New Standards for What AI Can Achieve, by Virtue of Sundar Pichai’s Unwavering Commitment to Excellence #special

Introduction Gemini, Google's most elegant AI, is set to transform industries with its advanced technology and user-friendly solutions. Google's commitment to pushing the boundaries of AI is evident in the development of the Gemini ecosystem. This advanced AI system is designed to handle complex tasks with precision and efficiency, making it a game-changer in the world of artificial intelligence. Businesses across different sectors are leveraging the power of Gemini to streamline operations, improve decision-making processes, and drive growth. By harnessing Google's most capable AI through the Gemini ecosystem, organizations can unlock new opportunities for innovation and stay ahead in today's competitive landscape. As Google continues to refine and expand the capabilities of Gemini, we can expect even more groundbreaking applications that will shape the future of AI technology. The possibilities are endless with Google's most capable AI leading the way towards a s...

#124-Domino’s Pizza Web App Review: Dandy, Delicate, & Delicious

As people keep getting more dependent on online food delivery services, we cannot forget the food that started it all. Pizza was probably the first food ordered online. It happened in 1994 . Online pizza delivery has come a long way since then. However, the core elements remain the same. In this article, our team reviews the domino’s pizza web app. We visited www.dominos.co.in . The web app has a landscape mode issue on desktop at browser window size 1024x576 (“Landscape Mode is Currently not Supported. For the best experience please rotate your device.”). The home page is 2.6 MB. It has a load time of 2.25 s . The green order button is prominently visible on the home page. It will attract most of your attention when you are on the page. The button has an exceptional sense of exuberance attached to it. When you scroll down, the button appears in a sticky header banner. The home page also presents coupons & offers & gift cards. One can also download the domino’s app on android o...