Skip to Content
Mastering Python for Networking and Security
book

Mastering Python for Networking and Security

by José Manuel Ortega
September 2018
Intermediate to advanced
426 pages
10h 46m
English
Packt Publishing
Content preview from Mastering Python for Networking and Security

HTTP Basic authentication

HTTP Basic is a simple mechanism that allows you to implement basic authentication over HTTP resources. The main advantage is the ease of implementing it in Apache web servers, using standard Apache directives and the httpasswd utility.

The problem with this mechanism is that it is relatively simple with a Wireshark sniffer to obtain the user's credentials since the information in sent in plain text; for an attacker, it would be enough to decode the information in Base64 format. If the client knows that a resource is protected with this mechanism, you can send the login and password in the Authorization header with Base64 encoding.

Basic-access authentication assumes that the client will be identified by a username ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Python for Networking and Security - Second Edition

Mastering Python for Networking and Security - Second Edition

José Manuel Ortega
Python for Cybersecurity

Python for Cybersecurity

Howard E. Poston, III

Publisher Resources

ISBN: 9781788992510Supplemental Content