Title: remote plugin update
Last modified: August 20, 2016

---

# remote plugin update

 *  Resolved [gdeschep](https://wordpress.org/support/users/gdeschep/)
 * (@gdeschep)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/remote-plugin-update/)
 * I notice that the .htacess file is automatically updated whenever the BPS plugin
   gets updated.
 * But when using a remote management tool such as ManageWP or Infinite WP for updating
   plugins, I notice that the auto .htaccess update of BPS is only triggered after
   I manually login to each WP site.
 * Obviously I’m using a remote management tool to ease the plugin management of
   multiple sites, so having to login manually to each site whenever a BPS update
   was performed is something I would like to avoid.
 * Would it be possible to automatically perform the .htaccess update of BPS right
   after the plugin gets updated without having to login first ?
 * [http://wordpress.org/extend/plugins/bulletproof-security/](http://wordpress.org/extend/plugins/bulletproof-security/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/remote-plugin-update/#post-3494978)
 * The automatic update checks that you are a logged in Admin to the site with permissions
   to perform the automatic update, checks the BPS version number and then performs
   the automatic update.
 * The idea you are proposing could be very simply done with a WordPress Cron. This
   would have to be an option setting because folks should have a choice about turning
   this On or Off.
 * I don’t see anything in the WordPress Plugin Guidelines that says you cannot 
   do/not allowed to do something like this so I will add this as an option in the
   next version release.
 * WordPress Plugin Guidelines: [http://wordpress.org/extend/plugins/about/guidelines/](http://wordpress.org/extend/plugins/about/guidelines/)
 *  Thread Starter [gdeschep](https://wordpress.org/support/users/gdeschep/)
 * (@gdeschep)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/remote-plugin-update/#post-3494983)
 * That sounds great !
 * Or maybe another possible solution might be to trigger the automatic check from
   a plugin activation hook ?
 * cfr [](http://codex.wordpress.org/Function_Reference/register_activation_hook)
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/remote-plugin-update/#post-3494987)
 * Actually it would be much simpler to create the Cron due to the way/how/where
   the code is currently fired from. Or yeah I could just duplicate/fire the current
   code/function and have it executed under the activation function, but since creating
   a WP Cron is so simple to create/add and the WordPress Settings API is so quick
   and simple to use/setup/add then actually creating a Cron Option is the much 
   simpler route to go.
 * More importantly I feel that this should be an Option that someone can choose
   to use or not so having this done automatically under the activation function
   will cause headaches for me – guaranteed. 😉
 * Most folks have CGI configured Servers, but for the 1% of folks that have DSO
   configured Servers they need to see the BPS Alerts that the autoupdate did not
   complete since these folks need to do manual file permission and/or ownership
   changes.
 *  Thread Starter [gdeschep](https://wordpress.org/support/users/gdeschep/)
 * (@gdeschep)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/remote-plugin-update/#post-3495006)
 * Ok, that’s indeed a logical explanation.
    A cronjob it will be then 🙂
 * BTW, something went wrong with the url reference to the plugin activation hook
   I wanted to add in my previous post, but it doesn’t matter anymore.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/remote-plugin-update/#post-3495033)
 * Marking this as resolved. This new feature will be added in BPS .48.1.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/remote-plugin-update/#post-3495131)
 * Well as it turns out adding something like this is not really doable without 
   putting the site at serious risk.
 * The auto-updating of the .htaccess files can ONLY be triggered by a logged in
   administrator to the site since file writing is occurring so when I played around
   with allowing the updating to occur with a non-administrator account you can 
   imagine all the fun ways I discovered that you can destroy the site by simply
   just registering and logging in as a Subscriber.
 * The same dilemma occurs with putting the trigger under the activation hook. Unfortunately,
   this is just not safely doable. Sorry about that. 😉
 *  Thread Starter [gdeschep](https://wordpress.org/support/users/gdeschep/)
 * (@gdeschep)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/remote-plugin-update/#post-3495132)
 * That’s a pitty, but I understand the security concerns.
    Anyway, thanks for your
   time to investigate this !

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘remote plugin update’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

## Tags

 * [automatic](https://wordpress.org/support/topic-tag/automatic/)
 * [BPS](https://wordpress.org/support/topic-tag/bps/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [Remote](https://wordpress.org/support/topic-tag/remote/)

 * 7 replies
 * 2 participants
 * Last reply from: [gdeschep](https://wordpress.org/support/users/gdeschep/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/remote-plugin-update/#post-3495132)
 * Status: resolved