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.
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)
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.
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.
Thank you both for answers.
@mc73 i dont use mySQL cause i want to check if details are correct and manually register members.
@NJDude i will try something like this
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.