Uploaded November 2018 | Updated September 2026, 1 day ago
James Bennett
2018.northbaypython.org/schedule/presentation/9
This talk will take a tour through some of the ways usernames (and other identifiers) can be trickier than we expect, or even genuinely dangerous, and will discuss ways you can use Python and its web frameworks to mitigate these risks and protect your sites and your users.
Some of the issues include:
* The difficulty of choosing between different types of unique identifier for users; they all have issues, and get worse when they start being exposed to the world (like in a profile-page URL).
* Ensuring uniqueness is surprisingly difficult! Usernames can have issues with case sensitivity, Unicode normalization, and confusingly similar-looking characters. Email addresses also present uniqueness issues, due to both the complexity of the standards for addresses and the quirks of popular email providers.
* Usernames as attack vectors: like any user-supplied input, they can be vectors for SQL injection and cross-site scripting attacks, but carefully-chosen usernames can also interfere with important services, or enable social engineering attacks.
Real-world examples will be provided for many of these issues, along with tips on specific tools and techniques – including both standard and third-party Django and Python libraries – for protecting against them.
This talk is designed for developers of any level of experience; both novices and veterans will probably learn something new!
A Python conference north of the Golden Gate
North Bay Python is a single-track conference with a carefully curated set of talks representing the diverse Python community and their different areas of interest.
If a topic is less to your interest, or you've met some people you really want to sit down and chat with, we'll have plenty of areas away from the main theatre to catch up and chat.
Our goal is to keep prices as low as possible. That means we won't be catering lunch. Instead, you can look forward to extra-long lunch breaks you can use to explore all of the great food options around the venue.
James Bennett
2018.northbaypython.org/schedule/presentation/9
This talk will take a tour through some of the ways usernames (and other identifiers) can be trickier than we expect, or even genuinely dangerous, and will discuss ways you can use Python and its web frameworks to mitigate these risks and protect your sites and your users.
Some of the issues include:
* The difficulty of choosing between different types of unique identifier for users; they all have issues, and get worse when they start being exposed to the world (like in a profile-page URL).
* Ensuring uniqueness is surprisingly difficult! Usernames can have issues with case sensitivity, Unicode normalization, and confusingly similar-looking characters. Email addresses also present uniqueness issues, due to both the complexity of the standards for addresses and the quirks of popular email providers.
* Usernames as attack vectors: like any user-supplied input, they can be vectors for SQL injection and cross-site scripting attacks, but carefully-chosen usernames can also interfere with important services, or enable social engineering attacks.
Real-world examples will be provided for many of these issues, along with tips on specific tools and techniques – including both standard and third-party Django and Python libraries – for protecting against them.
This talk is designed for developers of any level of experience; both novices and veterans will probably learn something new!
A Python conference north of the Golden Gate
North Bay Python is a single-track conference with a carefully curated set of talks representing the diverse Python community and their different areas of interest.
If a topic is less to your interest, or you've met some people you really want to sit down and chat with, we'll have plenty of areas away from the main theatre to catch up and chat.
Our goal is to keep prices as low as possible. That means we won't be catering lunch. Instead, you can look forward to extra-long lunch breaks you can use to explore all of the great food options around the venue.






, which posited that all modern digital infrastructure is ultimately transitively dependent on a project some random person in Nebraska has been thanklessly maintaining since 2003.
How can we find these projects and ensure that their maintainers get the thanks and — more importantly — the resources they need?
Produced by NDV: https://youtube.com/channel/UCQ7dFBzZGlBvtU2hCecsBBg?sub_confirmation=1
Sun Jun 30 15:55:00 2024 at Reis River Ranch Quantifying Nebraska - Adam Harvey (Nbpy2024)](https://i.ytimg.com/vi/QMHpy_mcx0Q/mqdefault.jpg)



