From the course: Secure Coding in Python
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Safe serializing - Python Tutorial
From the course: Secure Coding in Python
Safe serializing
In this one, we're going to look at how to secure APIs. And since APIs, or application programing interfaces, interface with other programs or computers, attack surfaces can be very difficult to spot. For this reason, it's super important to apply rigorous testing and various tools to make sure that you're not exposed. Let me show you what I mean. So I'm going to navigate to 05_01_begin. And I'll also navigate to feed. You can always do this in one command if you wish. And for this one, I'm going to use a great framework called Django REST framework. And it has a great suite of tools for developing APIs with Django. So I'll do pipenv install djangorestframework, that's one word. And I'll do pipenv install markdown. Always double check your spelling when installing packages. Clear my terminal, and pipenv install django-filter, and all of this is available to you in the documentation for Django REST framework, which I really recommend. I'll clear my terminal. Now, I've created a small…