DokumentationKurseLeitfädenCookbookGlossarRPC-APIStack Exchange
11 Lektionen

Program Security

by Unboxed Software with updates from the Solana Foundation

Kurs starten
Program Security

Learn how to think intelligently about security for your onchain programs, whether developing in Anchor or Native Rust.

Lektion starten

Ensure instructions are only executed by authorized accounts by implementing signer checks.

Lektion starten

Understand the use of account owner checks when processing incoming instructions.

Lektion starten

How to check your program's data accounts in both Anchor and Native Rust.

Lektion starten

Understand the security risks of account reinitialized attacks being used to override data, and how to prevent them.

Lektion starten

Under vulnerabilities that can occur with instruction handlers that handle two mutable accounts, and how to mitigate them.

Lektion starten

Understand the risks of using incorrect account types in instructions and how to mitigate them with account type checks.

Lektion starten

How to safely invoke Solana programs from other Solana programs.

Lektion starten

Understand the need for consistent PDA calculation by storing and reusing the canonical bump.

Lektion starten

How to close program accounts safely and securely in Anchor and native Rust.

Lektion starten

Understand the potential problems of reusing PDAs by using user and domain specific PDAs.

Lektion starten

Hast du eine Frage?

Fragen sind überall, Antworten sind auf dem Solana StackExchange.

Frage auf Stack Exchange stellen

Verwaltet von

© 2025 Solana Foundation. Alle Rechte vorbehalten.
Solana
  • Fördermittel
  • Break Solana
  • Media Kit
  • Karriere
  • Haftungsausschluss
  • Datenschutzrichtlinie
Verbinden Sie sich
  • Blog
  • Newsletter
© 2025 Solana Foundation. Alle Rechte vorbehalten.