Admin sections on a website are one of the first things targeted. Due to this, developers need to understand how to secure the Django admin sections well.
- [Instructor] In this video, we'll be learning…how to secure the Django Admin.…We'll look at different strategies that you…can use to secure your Admin section,…as well as a couple different tools that helps…make your Admin section more secure.…First and foremost, change your admin URL.…A lot of sites host their Admin section…on something like this, such as admin, wpadmin,…or something else similar.…That means when somebody's profiling a site…to attack it, this is the first URLs they check.…If you change your URL to something harder…or something that's not as easy to guess,…it'll make profiling your site harder…and less likely to be attacked.…
You can also secure and remove your admin docs.…By default, Django ships with admin/docs,…which is a copy of a lot of the documentation for Django.…In most cases, whenever I start a site I simply remove this.…However, it could be beneficial for some users…who are not as familiar with Django.…Therefore, if you're going to keep it,…you should make sure you apply all…of the security features that we're going to use…
- Extending class-based views
- Building a REST API
- Working with GraphQL
- Building a basic schema
- Optimizing your environment
- Working with Pipenv
- How Django handles testing
- Securing the Django admin
Skill Level Advanced
1. Advanced Class-Based Views
2. Building a REST API
Authentication with DRF6m 14s
3. GraphQL: An Alternative API
4. Optimizing Your Environment
5. Tests, Tests, Tests
6. Securing Django
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.