我应该使用 SQLite 自动构建垃圾评论发送者的禁止 IP 列表吗?
我在评论模块中使用了一个简单而有效的反垃圾邮件系统,该系统似乎完美运行了一年多。
由于它能够识别自动垃圾评论尝试,我正在考虑扩展此安全模块,使其能够自动将违规者 IP 添加到黑名单中。
您认为我应该使用 PHP 的 SQLite 来实现此目的,还是应该坚持使用 MySQL(我已经在网站上使用它)?
这两个数据库系统在这方面有什么区别吗?
I am using a simple yet effective anti-spam system at a comments module which seems to be working flawlessly for more than a year now.
Since it is capable of recognizing automated comment spam attempts, I am thinking of extending this security module with an ability of adding the offender IPs to a blacklist automatically.
Do you think that I should use PHP's SQLite for this, or should I stick to MySQL (which I'm already using at the site)?
Is there a difference at all between the two database systems in this regard?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您要扩展已经使用 DBMS 的内容,请坚持使用该 DBMS。对于这样的项目,SQLite 与 MySQL 一样好,但如果您担心的话,我不会将这两个 DBMS 混合在同一个模块中。
If you're going to extend something that already uses a DBMS, stick to that DBMS. SQLite is as good as MySQL for a project like this, but I wouldn't mix both DBMS in the same module, if it's what you're worrying about.