Secure Coding in Rust: Preventing Memory Bugs and Writing Safe Networked Software

Rust Development for Real-World Applications

Cover of Secure Coding in Rust: Preventing Memory Bugs and Writing Safe Networked Software

EPUB · English

Price and availability

EPUB eBookUS store

$6.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Distributed via Draft2Digital
Published
27 March 2026
ISBN
9798233811029
Subjects
Computer programming / software development, Programming & scripting languages: general, Computer programming / software engineering, Programming and scripting languages: general

About this book

Memory corruption destroys real systems. Rust was built to stop it.Every year, roughly 70% of critical security patches address memory safety vulnerabilities. Yet writing code that compiles in Rust is only the first step. Logic flaws, injection attacks, and architectural gaps can still compromise a perfectly memory-safe application.Secure Coding in Rust bridges the gap between safe code and genuinely secure systems. Grounded in adversarial thinking and real-world threat modeling, this book equips systems programmers, backend engineers, and security professionals to build production-grade software that resists determined attackers.What you will master:How Rust's ownership model and borrow checker eliminate buffer overflows and use-after-free vulnerabilities at compile timeDefensive error handling, strict input validation, and data race-free concurrency patterns that close runtime attack vectorsHow to safely write, isolate, and formally verify unsafe code and FFI boundaries without introducing memory corruptionSecure networking fundamentals: authentication, secrets management, serialization hardening, and injection preventionCoverage-guided fuzzing, static analysis, dependency auditing, and structured threat modelingProduction hardening: distroless containers, syscall sandboxing, and structured incident observabilityWhether you are migrating from C or C++, building secure networked APIs, or auditing existing Rust infrastructure, this is your hands-on, progressive guide to engineering systems-level software that is both memory-safe and architecturally secure.Stop writing code that merely compiles. Start engineering systems that cannot be broken.

Bibliographic data © Gardners Books Ltd.