Linux 软件免费装
Banner图

Darkstar File Manager

开发者 darkstarmedia
justinblayney
更新时间 2026年3月10日 03:18
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

file upload document management client portal secure documents client files

下载

1.0.3 1.0.2

详情介绍:

Darkstar File Manager is a secure, easy-to-use plugin that creates a private document portal for each WordPress user. Perfect for accountants, lawyers, consultants, or any business that needs to securely exchange documents with clients. Key Features How It Works
  1. Create a Client Portal Page - Add the shortcode [dsfm_client_login] to any page
  2. Configure Settings - Set upload path (outside web root recommended), file types, and size limits
  3. Upload Files for Clients - Go to Users → hover over user → click "View Documents" to upload
  4. Clients Access Files - Clients log in and visit the portal page to view and upload documents
Security Features Note on File Storage This plugin stores uploaded files outside the web root for security. Because of this requirement, files are moved using PHP's move_uploaded_file() directly after passing validation through WordPress's wp_check_filetype_and_ext(), our own MIME type check, extension allowlist, and size limits. Files cannot be stored through wp_handle_upload() without placing them inside the publicly accessible uploads directory, which would reduce security. Perfect For

安装:

Automatic Installation
  1. Log in to your WordPress admin panel
  2. Go to Plugins → Add New
  3. Search for "Darkstar File Manager"
  4. Click "Install Now" and then "Activate"
Manual Installation
  1. Download the plugin zip file
  2. Log in to your WordPress admin panel
  3. Go to Plugins → Add New → Upload Plugin
  4. Choose the zip file and click "Install Now"
  5. Activate the plugin
After Installation
  1. Go to Settings → Darkstar File Manager
  2. Configure the upload folder path (recommended: outside web root for security)
  3. Set allowed file types and maximum file size
  4. Create a new page (e.g., "Client Portal")
  5. Add the shortcode: [dsfm_client_login]
  6. Publish the page
  7. Share the page URL with your clients

屏幕截图:

  • Admin interface for uploading files to specific clients
  • Settings page with configuration options and instructions
  • User list with "View Documents" action link

升级注意事项:

1.0.2 Plugin renamed to Darkstar File Manager. New slug: darkstar-file-manager. Updated prefixes and improved file upload validation. 1.0.0 Initial release.

常见问题:

How do I upload files for a specific client?

Go to Users in your WordPress admin panel. Hover over the user you want to upload files for, and click "View Documents". You'll see an upload form where you can select and upload files for that client.

Where are the files stored?

Files are stored in the path you configure in Settings → Darkstar File Manager. For maximum security, we recommend storing files outside your web root (e.g., /var/www/client-docs instead of /var/www/html/wp-content/client-docs).

Can clients see other clients' files?

No. Each client can only see and download files in their own folder. The plugin enforces strict user isolation.

What file types are allowed?

By default: PDF, DOC, DOCX, XLS, XLSX, CSV, TXT, JPG, JPEG, PNG, GIF, WEBP, and ZIP files. You can customize this list in Settings → Darkstar File Manager.

How do I change the maximum file size?

Go to Settings → Darkstar File Manager and adjust the "Maximum File Size (MB)" setting. You can set it between 1 and 100 MB.

Is this plugin translation ready?

Yes! The plugin is fully internationalization-ready and includes Polylang integration for multilingual sites. Translation files are located in the /languages directory.

Can clients delete files I upload for them?

No. Files uploaded by administrators appear in a separate "Documents for you" section (read-only). Clients can only delete files they uploaded themselves.

How do clients access their documents?

Clients simply log in to your WordPress site and visit the page where you added the [dsfm_client_login] shortcode. After logging in, they'll see all their documents and can upload new ones.

Does this work with iThemes Security, Wordfence, or other security plugins?

Yes! The plugin automatically detects and uses the custom login URL configured by security plugins like iThemes Security, Wordfence, or any other plugin that changes the WordPress login page. The login form on the shortcode page will work seamlessly with these security plugins.

Is this secure?

Yes. The plugin implements multiple security layers:

  • Files are served through an authenticated handler (not direct URLs)
  • User authentication required
  • Path traversal protection
  • File type, MIME, and WordPress built-in type validation
  • Nonce verification on all actions
  • Files can be stored outside web root

更新日志:

1.0.2 1.0.0