yiankos1 Well-Known Member Licensed User Longtime User Oct 30, 2013 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Oct 31, 2013 #2 First make sure that the FTP user name and password are set with two process global variables. This way the strings will be obfuscated. How are spammers uploading files to your FTP server? Are you sure that it is not your app that uploads the files? Upvote 0
First make sure that the FTP user name and password are set with two process global variables. This way the strings will be obfuscated. How are spammers uploading files to your FTP server? Are you sure that it is not your app that uploads the files?
yiankos1 Well-Known Member Licensed User Longtime User Oct 31, 2013 #3 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
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)
mc73 Well-Known Member Licensed User Longtime User Oct 31, 2013 #4 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
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.
NJDude Expert Licensed User Longtime User Oct 31, 2013 #5 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
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.
yiankos1 Well-Known Member Licensed User Longtime User Oct 31, 2013 #6 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 Upvote 0
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