Rank 3: Container
selfhosting
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
selfhosting
and do you have something in front of Appwrite like a reverse proxy?
The user said that no
Is Appwrite installed locally where the emulator is running?
Rank 3: Container
Yes, appwrite is deployed on a vps server
And the Android emulator is on that vps server?
Rank 3: Container
No, it's physical device
Rank 3: Container
Just my phone
Are you connecting to Appwrite through a VPN?
I'm curious what the 172.18 network is...
Did you install Appwrite using the docker install command?
Rank 3: Container
No, i didn't use vpn
Rank 3: Container
"Did you install Appwrite using the docker install command?"
yes
Oooh wait this is in a function!
Rank 3: Container
yep)
locale.get() fetches the current clients locale so this result is expected
The current client is the function
Rank 3: Container
I see, thanks
Rank 3: Container
Is there a way to restrict the executes of a specific function? The function calls sms and it will be bad if someone abuses it
Set execute permissions on the function
Rank 3: Container
I mean to reduce count of execution per minute
Keep track of the count and then don't call the API got the sms
Rank 3: Container
But if they spam for different phone numbers?
And?
Rank 3: Container
The fact is that this function is available to unauthorized users. I can only limit it to guests only (anonymous sessions). Therefore, I cannot save the id of the user who called the function
sorry, can't help you there
Rank 3: Container
okay, thanks