Back

[SOLVED] password special character feature

  • 0
  • Flutter
dammy
30 May, 2023, 06:41

I made sure I used RegExp in dart for password, what if user injects malicious code and include character?

What should be done to prevent this?

TL;DR
This thread discusses the question of whether Appwrite handles password validation by default. The consensus is that Appwrite, being a Backend-as-a-Service (BaaS), does not have built-in password validation due to the varying requirements of different applications. The recommendation is to perform password validation on the client side using regular expressions (regex). Additionally, if extra security is desired, an Appwrite cloud function can be created to validate the password before sending it to the appropriate endpoint.
joeyouss
30 May, 2023, 07:01

Hi - is this Appwrite related?

dr.pand
30 May, 2023, 07:16

You need to validate form, before submitting and sending request to appwrite.

And not, this is not related to appwrite.😅

dammy
30 May, 2023, 08:13

Wanted knowing if appwrite handles that by default

Before knowing wether to do so manually or move on

@dr.pand#3302 @joeyouss

safwan
30 May, 2023, 08:17

@dammy

Appwrite is a BaaS. It handles all the backend functionality for your app, but I don't think password validation has ever been a feature in a BaaS. This is is because of the different requirements for different apps. If you want to have password validation, you can do it on the client side with regex as you said. If you still want to have an extra layer of security, you can create an appwrite cloud function to do the validation before sending it to the appropriate endpoint.

dammy
30 May, 2023, 08:17

@safwan okay I appreciate you always

dammy
30 May, 2023, 08:18

solved - password special character feature

dammy
30 May, 2023, 08:20

one day I'll be attending to people's questions and assisting them find answers just like you @safwan

Drake
30 May, 2023, 13:42

[SOLVED] password special character feature

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more