Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Files Warden
#5
In general, there are 2 kinds of changes:
- legal changes (like post a comment by user, install a plugin by admin, etc.)
- illegal changes (like code injection).

Most likely legal changes can trigger plugin's action, but illegal changes can use not-standard methods avoiding any triggers. So, you have to call the plugin directly to detect these changes.

I think the only way to implement a reliable changes notification is to call the plugin periodically (e.g. each day or each hour) using a cron job or Windows Scheduler task. I can add a script checking the changes and sending the emails as you want. You can call it from cron using wget or curl command. For example:
wget http://yoursite.com/plugins/files-warden/check.php

What do you think about this approach?

Sincerely,
Sergey Zyryanov
Reply


Messages In This Thread
Files Warden - by szyryanov - 2017-12-11, 20:37:16
RE: Files Warden - by carpman - 2017-12-19, 21:30:59
RE: Files Warden - by szyryanov - 2017-12-21, 16:13:38
RE: Files Warden - by carpman - 2017-12-22, 05:36:46
RE: Files Warden - by szyryanov - 2017-12-22, 07:39:10
RE: Files Warden - by carpman - 2017-12-22, 11:30:30
RE: Files Warden - by szyryanov - 2017-12-23, 22:14:36
RE: Files Warden - by carpman - 2017-12-23, 22:22:06
RE: Files Warden - by szyryanov - 2018-01-03, 18:49:35
RE: Files Warden - by carpman - 2018-01-04, 08:40:27
RE: Files Warden - by szyryanov - 2018-01-04, 17:47:26
RE: Files Warden - by Oleg06 - 2018-01-07, 05:24:02
RE: Files Warden - by szyryanov - 2018-01-10, 00:34:39
RE: Files Warden - by Bigin - 2018-01-10, 01:25:30
RE: Files Warden - by Felix - 2020-10-31, 00:11:57
RE: Files Warden - by Bigin - 2020-10-31, 03:37:05
RE: Files Warden - by Felix - 2020-10-31, 19:05:09



Users browsing this thread: 1 Guest(s)