Flask

Prevent Cross-Site Request Forgery (CORS) Attacks using Flask WTForms

Cross-Site Request Forgery (CORS) is a vulnerability that allows someone to exploit and take advantage of a user’s logged-in session on a trusted website to make unauthorized requests to a different website that the user trusts. WTForms is a Flask extension that integrates CSRF protection by default to prevent CORS attacks. In this article, we […]

Prevent Cross-Site Request Forgery (CORS) Attacks using Flask WTForms Read More »

How to Deploy Flask Apps on Vultr using Nginx and Gunicorn

Flask is a Python framework for building web applications. With Flask, developers can easily define routes, handle HTTP requests and responses, and render dynamic content using Jinja2 templates. It also supports extensions allowing developers to integrate features like database access, form handling, and user authentication. Gunicorn stands for “Green Unicorn”, it is a Web Server

How to Deploy Flask Apps on Vultr using Nginx and Gunicorn Read More »

Deploy ML models using Flask

In this article, we discuss how we can deploy ML models using Flask. This article assumes no prior knowledge of the Flask library. What is Deployment? Deployment in very simplified terms means making your code available for use of end-users. Let us take an example here. You design an app that you believe can be

Deploy ML models using Flask Read More »

Deploy Flask App on VPS

In this article, we will deploy Flask Application onto a Virtual Private Server (VPS) using Apache Webserver Software and mod_wsgi WSGI. What is VPS? VPS, which stands for Virtual Private Server, is a virtual machine sold as a service by various hosting companies. You can think of it similar to laptop CPU hardware but in

Deploy Flask App on VPS Read More »