I think there should be an option to "lock" any plugin you've made. Locking this plugin would make it so that the plugin cannot be modified until the lock is removed off the plugin (you could even make it so that it can't be read).
I was thinking of this because you could have sensitive plugin data (technically, all plugin data is sensitive) that you don't want someone to get a hold of, perhaps if you've had a breach or something. Locking plugins will be done via config.php (in my own head anyway as I was thinking this), perhaps as a constant like vBulletin.
You'd basically lock a plugin by ticking a box or clicking an unlocked padlock (which switches to locked) and when the above code is placed in the config file the plugins are not able to be modified.
I was thinking of this because you could have sensitive plugin data (technically, all plugin data is sensitive) that you don't want someone to get a hold of, perhaps if you've had a breach or something. Locking plugins will be done via config.php (in my own head anyway as I was thinking this), perhaps as a constant like vBulletin.
PHP:
define('LOCK_PLUGINS', true);
Upvote
0