Sign in

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Utilizing an Azure Blob for cloud storage is a great way to conserve space on your system while maintaining compliance requirements. However, even though an Azure Blob is supported by Microsoft’s security, it is still possible for infected files to make their way into your storage container and corrupt your valid documents and files. To provide an additional layer of protection and peace of mind, we will demonstrate how you can use the following API in C/C++ to automatically scan an Azure Blob and its contents for threats.

We will begin by installing libcurl into our project:


Now we…

While the PDF format is ideal for ensuring secure sharing of business documents, it may not always be fully compatible with various platforms and systems. When this incompatibility occurs, it can cause degradation of your original message or data. In this brief tutorial, we will demonstrate how you can avoid this potential issue by utilizing the following API in C/C++ to convert a PDF file to the universally standardized PDF/A format.

Our first step is to install libcurl in our C/C++ project:


Next, we can call the conversion function with the following code:

CURL *curl; CURLcode res; curl =…

Wondering how you can protect you and your business from SSRF attacks? If so, you’ve come to the right place. In this brief tutorial, we will demonstrate how to use an API in Java to detect SSRF attacks and unsafe URL attacks from HTML text input; this will prevent malicious attempts to access vulnerable local or network paths in the server environment via HTML injection.

To begin, we will install the Maven SDK by adding a reference to the repository in pom.xml:


Next, we will add a reference to the dependency:

<dependencies> <dependency> <groupId>com.github.Cloudmersive</groupId>…

If you’ve trusted an Azure Blob cloud storage container with sensitive data, you want solid confirmation that the contents are completely safe. By utilizing the following API in Swift, you will be able to automatically scan an Azure Blob and its contents for multiple threats, including viruses, malware, trojans, ransomware, and spyware. The API leverages a database of over 17 million virus signatures that are continuously updated in the cloud to provide the most current and reliable protection for you and your customer’s information.

To ensure the process runs smoothly, you will need to input the Azure Blob storage account…

Server administration paths can be used in web applications or databases to specify the set of directories that are accessed. While these are very common and easy-to-use, they can provide a window for attackers to exploit and access directories that should be off-limits. Testing your URLs or paths for this vulnerability can be a tedious process, so in this brief tutorial we will demonstrate how you can use an API in Swift to automatically check your paths for this risk.

To use the API, we will input the target URL/relative path and our API key and call the function with…

Have you ever had PDF compatibility issues when passing a PDF between different operating systems? Ifso, you know how frustrating they can be. To avoid these potential situations and ensure the original formatting of your document is preserved, you can convert a PDF to a PDF/A file using an API in Swift. The PDF/A format is a universal, standardized version of the PDF format, and was designed for ease-of-use across purposes and platforms.

All we need for the process is the target PDF file and API key; you have the option to set the conformance level to PDF/A-1b or PDF/A-2b…

Does your web application access user-controlled URLs to fetch data? If so, it could be susceptible to a Server-Side Request Forgery (SSRF) attack. Since this is a common access approach for web applications, the occurrence of SSRF attacks has increased exponentially over the past few years. One way your server can be exposed to these threats is via HTML injection, which occurs when a user inputs arbitrary HTML code in server-side vulnerabilities. Using the following API in JavaScript will allow you to detect the attacks from HTML text, stopping the issue before it’s executed.

Our first step is to install…

Cloud storage containers have become an increasingly popular method for storing and uploading files over the past few years. While these containers are efficient and mostly secure, they generally fall outside the reach of basic anti-virus software. In this quick tutorial, we will demonstrate how to scan the contents of a single Azure Blob for viruses using an API in JavaScript. Azure is Microsoft’s cloud storage solution, and one of the best options due to its ease-of-use and compatibility; however, even the best solutions are susceptible to attack.

Let’s begin the process by installing the jQuery library:

bower install jquery

Did you know that the security of your information could be vulnerable to remote access by an attacker if you have a URL or relative path that’s a server administration path? These paths are high-risk because a user with malicious intent could use educated guesswork to manipulate the root path to access private directories. If you’re not sure whether your URLs are offering this dangerous opening, you can use the following API in JavaScript to automatically check if an input URL or path is a server administration path.

Our first step is to install the jQuery library:

bower install jquery

As we’ve discussed in previous articles, the PDF format is one of the most common and popular formats for saving and sharing documents. However, when it comes to long-term archiving, PDF files allow several features that are incompatible with that particular function. To transform your PDF to an archive-compatible format, you can use the following API in JavaScript to convert it to a standardized PDF/A document.

To kick off the process, we will install the jQuery library:

bower install jquery

Then we are ready to call the function with the following code:

var form = new FormData();
form.append("inputFile", fileInput.files[0], "file");

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store