Secure Coding Back to Basics - Erlend Oftedal - NDC Security 2022

  Рет қаралды 8,187

NDC Conferences

NDC Conferences

Күн бұрын

In this talk we will go back a bit and discuss secure code.
We will look at the constructs we are using (and not using) and why changing some of the ways we typically write our code, can have security benefits. We will grab some elements from (modern) Domain Driven Design and see how we can use this to avoid or limit vulnerabilities.
Check out more of our featured speakers and talks at
ndcconferences...
ndc-security.com/

Пікірлер: 6
@jbird4478
@jbird4478 2 жыл бұрын
"Data does not stay data. This is a bug." Exactly. So why are we still using the same crappy SQL language as we did 50 years ago? Why not use some binary protocol where data is never evaluated as commands?
@jbird4478
@jbird4478 2 жыл бұрын
@@panosdotnet How it's stored is not related to the query language. The problem of SQL injection is that the app sends a command in the form of text to the database server. There is no distinction between the data and the command there, so data can accidentally be interpreted as a command. If you'd use a binary protocol for communicating with the server you could encode this distinction easily. Rather than letting the server pick one string of text apart, you'd just say "here's X bytes of data" and the server would know never to interpret those bytes as potential commands.
@Hofer2304
@Hofer2304 2 жыл бұрын
I have problems with duck typing. If you write a simple program, it is not a problem, but otherwise it is no help. I want to define my own domain specific types, and use them in a natural way. The best place for a type error detection is the editor. I have problems if nothing is really private. I want to declare my variables and constants, because I need as much help from the computer as possible.
@capability-snob
@capability-snob Жыл бұрын
Wow I missed that trusted types (for innerHTML) thing the first time through. The policies are not a great API - it's spooky action at a distance - but it still seems worth switching that on.
@Najumulsaqib
@Najumulsaqib Жыл бұрын
Wonderful talk; you gave a unique perspective on secure coding which I havent heard before. Thanks
@tactileslut
@tactileslut 2 жыл бұрын
No fault of the speaker but the video production was not laid out for legibility on the small screen.
Getting API Security Right - Philippe De Ryck - NDC Security 2022
53:13
Back to Basics: Efficient Async and Await - Filip Ekberg - NDC Porto 2022
1:02:00
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 60 МЛН
Secure Coding Guidelines for Java
31:31
Java
Рет қаралды 12 М.
Fractal Architecture - Mark Seemann - NDC Porto 2022
53:32
NDC Conferences
Рет қаралды 10 М.
Where’s C# headed? - Mads Torgersen - NDC Copenhagen 2022
1:01:28
NDC Conferences
Рет қаралды 29 М.
Secure Coding - Best Practices (also for non developers!)
57:45
The Best Programmer I Know • Daniel Terhorst-North • GOTO 2024
48:33
GOTO Conferences
Рет қаралды 57 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 394 М.
Repeatable Execution - Mark Seemann - NDC Copenhagen 2022
1:00:07
NDC Conferences
Рет қаралды 8 М.