WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Shortcode Exec PHP] Maybe the safest way to execute php

[Plugin: Shortcode Exec PHP] Maybe the safest way to execute php

  • houseofstrauss
    Participant

    @houseofstrauss

    On testing this I found that not only is this the easiest way to execute php, but maybe the safest ( on a multi-user blog etc) Reason being only the defined php code can be executed and nothing else. So you can limit the scope of php runnning in your posts.

    In addition, you could make an un-guessable shortcode such as [JjI6GuudQ] that would stop any other poster using it.

    http://wordpress.org/extend/plugins/shortcode-exec-php/

Viewing 1 replies (of 1 total)
  • Thanks for sharing your thoughts, ‘houseofstrauss’.

    Using un-guessable shortcodes is a nice idea, but as long as users can edit posts, they can see existing, hard to guess shortcodes. I am thinking about a way to limit the use of shortcodes depending on the user role. Furthermore I will try to easy the editing of shortcodes (ajax, etc). Let me know if you have other ideas and wishes.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Shortcode Exec PHP] Maybe the safest way to execute php’ is closed to new replies.