Android Question Prevent Spam

yiankos1

Well-Known Member
Licensed User
Longtime User
Hello my friends,
In my app i use FTP in order users send a .txt file to my server to add them as users. Now my question is how to prevent spamming, sendind all the time .txt files to my server. Thanks for your time.
 

yiankos1

Well-Known Member
Licensed User
Longtime User
How my app works:
1)There is a form that users fill in their personal details
2)After hit a button, all these personal details saved in a .txt file
3)Opens connection to my server and automatically send the .txt file to my server so i will register them
Now my question is, how to prevent a possible "spammer" that will fill with fake names and flood my server with fake id's.
e.g. "spammer" send 85 fake profiles in one hour.
(I don't have any problem with FTP)
 
Upvote 0

mc73

Well-Known Member
Licensed User
Longtime User
If I understand correctly, in your txt file include device's id. If the same id arrives, remove the request.
However, for such purposes, I would choose to use a mySQL server, receiving post request, instead of using ftp.
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
You could limit the number of uploads setting a time, in other words, once the user has uploaded the file, record the time and don't allow another until after an hour or whatever time you consider pertinent.
 
Upvote 0
Top