A native File Manager plugin for Open Journal Systems (OJS). Designed to provide Site Administrators with secure, direct management of OJS installation files and directories from the administration panel.
- Site Administration Integration: Accessible directly from Site Administration (
/admin/filemanager). - File & Directory Navigation: Fast directory browsing with interactive breadcrumb navigation.
- File Operations:
- Create new folders (New Folder).
- Create new files (New File).
- Upload files (Upload).
- In-browser code and text editing (Edit & Save).
- Rename, download, and delete files or folders.
- Real-Time Search: Recursive search across directories with instant filtering.
- Cross-Platform Compatibility: Fully compatible with Linux and Windows server environments (path normalization, case sensitivity handling, and illegal character filtering).
- Security Hardening:
- Restricted strictly to the Site Administrator role (
ROLE_ID_SITE_ADMIN). - Strict CSRF token validation across all state-modifying actions.
- Path traversal protection (canonical path boundary checks, blocking
../exploits). - Executable script upload protection (blocking
.php,.phtml,.htaccess,.env, web shells). - File content sanitization (SVG/HTML inline script and XSS payload detection).
- Critical system files protected from deletion or renaming.
- Restricted strictly to the Site Administrator role (
-
Clone the repository into your OJS plugins directory:
git clone https://github.com/openjournalcenter/ojs-file-manager.git plugins/generic/fileManager
Or download the release archive and extract it to
plugins/generic/fileManager. -
Ensure correct directory permissions for your web server (Apache/Nginx):
chmod -R 755 plugins/generic/fileManager
-
Log in to OJS as Site Administrator.
-
Go to Settings > Website > Plugins > Installed Plugins, find File Manager Plugin, and enable the checkbox.
-
Open the File Manager from the Administration > File Manager menu or the action panel on the Site Administration page.
- Author: Dimar Tarmizi
- Organization: Open Journal Center
- Repository: https://github.com/openjournalcenter/ojs-file-manager
This plugin is licensed under the GNU General Public License v3.0.
