) in my fields but it was not executed by the browser. I have even created an entity in the app with that script as name. The special chars were not deleted but no script was executed either. The name was displayed in a Text widget and I think it prevents script to be executed from the server-client side. \n\n- CSRF : Users only access the app from the client side for authentication, database access (read/write) and file storage. Should I add custom tokens like JWT or is everything secured through Client sdk and permissions?\n\n- SQL/NoSQL injections : I may be wrong, but I think that Appwrite uses a collections/documents database system like NoSQL on top of some MariaDB. So data is stored like NoSQL as collections but with strong types for attributes. I am not very familiar with the concept of NoSQL injection, but I have seen it through researches. Are there some protections on the Appwrite side against NoSQL (or SQL) injections or should I set prepared statements before requesting the Appwrite database?\n\nThat's a lot I admit, but if anyone has answers it would be greatly appreciated!","author":{"@type":"Person","name":"LaurentLP"},"datePublished":"2024-02-27T09:21:13.809Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/LikeAction","userInteractionCount":0},"commentCount":1,"comment":[{"@type":"Comment","text":"I'm neither an expert on Flutter Web nor security but you probably needn't worry about any of these issues.\n\nSQL injections: Appwrite handles all DB stuffs and I'm pretty sure they use prepared statements. Also, you have no way of creating prepared statements in your Flutter app. You only need to worry about this if you're writing the backend yourself.\n\nCheck out this article may help clarify a few things.\nhttps://dev.to/carminezacc/securely-storing-jwts-in-flutter-web-apps-2nal\n\nPS: Appwrite uses cookies for authentication on the web","author":{"@type":"Person","name":"Ernest"},"datePublished":"2024-02-27T09:51:14.940Z","url":"https://appwrite.io/threads/1211966260758454289#message-1211973815249281034"}]}}
Skip to content
Back
Flutter

Securing a Flutter-web app with Appwrite

Votes

0

Replies

1

Participants

Unknown

Messages

2

LaurentLPOriginal post

Rank 1: Thread

Ernest

Join the discussion

Reply to this thread by joining our Discord.

Reply on Discord