Loading...
 
Skip to main content

History: Plugin Security

Source of version: 15

Copy to clipboard
            ! 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 [http://en.wikipedia.org/wiki/Cross-site_scripting|XSS].

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

::{img src="img/wiki_up/tiki30_plugin_approval_01.png" class="reflect" align="center" rel=shadowbox[g];type=img;title=}:: 

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 {MOUSEOVER(label="access to files on the server" sticky="y")}You can use SSH, an FTP client or if you are using Virtualmin: https://www.virtualmin.com/documentation/tutorial/how-to-use-the-file-manager/ {MOUSEOVER}. For security reasons, there is no way to do via the web interface.

# Find the file for the relevant ((Wiki Plugins|Wiki Plugin)). Ex.: lib/wiki-plugins/wikiplugin_html.php
# Replace 
{CODE()}
		'validate' => 'all',
{CODE}
by
{CODE()}
		'validate' => 'none',
{CODE}
The next time you upgrade Tiki, you will need to do this again because new version will be unmodified. 

!! Alias
* (alias(Plugin Validation))

        

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