Loading...
 
Skip to main content

History: Plugin Security

Preview of version: 16

Plugin Security


By default, Wiki Syntax is designed to be safer than HTML. If we let users just use any HTML & JavaScript, some could do nasty things like XSS.

Thus, when a plugin is potentially insecure, it must be approved by someone with appropriate permissions.

Image


The permissions involved are:

Permission Description
tiki_p_plugin_approve Can approve plugin execution
tiki_p_plugin_preview Can execute unapproved plugin
tiki_p_plugin_viewdetail Can view unapproved plugin details


Plugin Approval


See Plugin Approval

Plugin Management

Plugins can be enabled or disabled on a site wide basis by an admin. So if you don't need it, turn it off.

How to deactivate

This is not recommended, but you can do in a testing context, where all users are trusted. You need access to files on the serverYou can use SSH, an FTP client or if you are using Virtualmin: https://www.virtualmin.com/documentation/tutorial/how-to-use-the-file-manager/. For security reasons, there is no way to do via the web interface.

  1. Find the file for the relevant Wiki Plugin. Ex.: lib/wiki-plugins/wikiplugin_html.php
  2. Replace
Copy to clipboard
'validate' => 'all',

by

Copy to clipboard
'validate' => 'none',

The next time you upgrade Tiki, you will need to do this again because new version will be unmodified. Unless you use Tiki Manager or you get source code from https://gitlab.com/tikiwiki/tiki

Alias

History

Information Version
Marc Laporte 17
Marc Laporte 16
Marc Laporte 15
luciash d' being 🧙 14
Xavier de Pedro added to another structure too 13
Xavier de Pedro added to one structure 12
Xavier de Pedro 11
luciash d' being 🧙 Image Plugin modified by editor. 9
luciash d' being 🧙 Image Plugin modified by editor. 8
luciash d' being 🧙 7
Marc Laporte 6
Marc Laporte Image Plugin modified by editor. 5
Marc Laporte Image Plugin modified by editor. 4
Marc Laporte 3
Marc Laporte 2
Marc Laporte 1