Skip to content

Commit

Permalink
[#376] [DC] Implementation Flow. Extend security
Browse files Browse the repository at this point in the history
  • Loading branch information
lyskouski committed Dec 15, 2023
1 parent d5cee8d commit 2c9109d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/implementation-flow/ch07-s02-security.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ \subsection{Securing Information}
competitive advantage.

To achieve information security, applications must implement robust cybersecurity measures, including encryption,
access controls, and regular security audits.
access controls, and regular security audits. Ensuring the app security is a continuous endeavor that requires a
proactive approach.


\subsubsection{Storing API keys}
Expand All @@ -38,6 +39,16 @@ \subsubsection{Storing API keys}
String? apiKey = String.fromEnvironment('KEY', defaultValue: null);
\end{lstlisting}

\noindent For handling dynamic values, consider employing the \q{flutter\_secure\_storage}-package to securely store
sensitive data through encrypted shared preferences (\emph{Keychain for iOS and macOS, AES encryption for Android and
Windows, libsecret for Linux, and WebCrypto for Web}):

\begin{lstlisting}
final storage = new FlutterSecureStorage();
await storage.write(key: key, value: value);
String value = await storage.read(key: key);
\end{lstlisting}


\subsubsection{Encrypting Storage}
\markboth{Productionizing}{Encrypting Storage}
Expand Down

0 comments on commit 2c9109d

Please sign in to comment.