+ 16

What is the best way to protect a database from spam?

Pls share your thoughts.

13th Sep 2017, 6:33 PM
Ranjan Bagri
Ranjan Bagri - avatar
10 Answers
+ 7
@Andrew G Yeah but you can' t block spammers by email because they are not always stupid bots. By the way also me can create spam if i want
13th Sep 2017, 9:03 PM
Umbe
Umbe - avatar
+ 6
1. Validate inputs before inserting to the database. 2. Use prepared statements 3. Use a captcha, Google's Invisible reCaptcha is the best. 4. Track the IP address of the submitter, so you can verify later if the same person submitted spams.
14th Sep 2017, 6:43 AM
Hasan Al-Yazidi
Hasan Al-Yazidi - avatar
+ 5
@Andrew for number 3, people can use burner emails. I myself use an app to get random emails that last for a short time, then I get another one (called "TempMail" on the playstore) @Hasan VPNs, proxies, and TOR can be used to hide IPs and MAC addresses From a website side of things, its extremely difficult to track users who don't want to be tracked, in many cases you flatout can't there are counters against every possible means of tracking that a webmaster can deploy source: as a hobby I study mass surveillance
15th Sep 2017, 2:14 PM
DeleteThisAccount
+ 4
Protecting a database from spam I think is almost impossible but at least you can delete them automatically or manually. anutomatically I do not know maybe you can create something that can handle a series of variables like frequency of accesses or type of sender.
13th Sep 2017, 8:51 PM
Umbe
Umbe - avatar
+ 4
Without a human supervision or a kind of A.I. it would be very annoying for non-spammers. edit: machines are not better than humans yet
13th Sep 2017, 9:11 PM
Umbe
Umbe - avatar
+ 3
Pls @Muhammad Aliyu tell us everything
15th Sep 2017, 10:00 AM
Umbe
Umbe - avatar
+ 2
Encrypting database with custom scripts (using our own bots)
13th Sep 2017, 7:39 PM
onekpsc
0
Learn more about sql
15th Sep 2017, 9:43 AM
Muhammad Aliyu
Muhammad Aliyu - avatar