Linux 软件免费装
Banner图

Kitgenix Document Manager

开发者 kitgenix
更新时间 2026年9月1日 03:30
捐献地址: 去捐款
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

access control file sharing document management document library secure downloads

下载

1.0.0 1.1.0 1.1.3 2.0.0

详情介绍:

Kitgenix Document Manager is a WordPress document management and document library plugin for publishing, protecting, replacing, sharing and tracking downloadable files. It adds a managed document layer around WordPress attachments so a document can keep one stable URL while the physical file behind it changes over time. This is useful for policy documents, product manuals, technical downloads, specification sheets, price lists, application forms, certificates, reports, staff resources, membership files and other documents that need more control than a raw Media Library URL. A published document uses a stable route similar to: /kitgenix-document-manager/{slug}/ Replace the current attachment later and the document route can remain the same, so old links in pages, emails, QR codes, bookmarks and external documentation do not need to be replaced. Built by Kitgenix. Document Management Features Stable WordPress Document Links The plugin separates the logical document from the current file. Pages and users link to the document's stable endpoint; the document record then decides which attachment is current and whether the requester is allowed to receive it. This model is particularly useful for frequently revised documents. A "Product Manual" or "Terms and Conditions" link can remain consistent while administrators replace the actual PDF or Office file as revisions are released. Public, Private and Restricted Documents Each document has a visibility mode and can also carry more granular rules. Access can be evaluated using WordPress roles, a required capability, explicitly allowed user IDs or a valid signed share link. The same access decision is applied across the managed delivery endpoint and the plugin's own output paths. The code also includes guards designed to prevent protected managed attachments being casually exposed through Media REST responses or normal attachment permalinks to a visitor who does not have document access. For unauthenticated protected requests, the configured behaviour can send the visitor to login or return a forbidden response according to the site setting. Signed File Sharing A signed URL can grant temporary access to a protected document without creating a WordPress account for the recipient. Signed links can have an expiry time and an optional maximum-use count. Administrators can revoke a share link or regenerate the document's signing secret. The signature is bound to document-specific values including the current attachment and document slug, so changing the underlying file affects the validity context rather than creating a permanent backdoor to every future version. Lifecycle Scheduling Documents can have an Available from time, an Archive at time and an Expires at time. These fields allow a file to become available automatically or to stop normal access without an administrator having to remember the exact campaign/compliance deadline. The lifecycle layer can represent states such as Draft, Scheduled, Live, Restricted, Archived or Expired. An hourly WordPress cron event checks scheduled documents so state transitions can be observed even when the document is not being requested continuously. Version History When versioning is enabled, replacing a document can retain the superseded attachment as a historical version. Version records can include a label or note, and authorised users can restore an older file or delete old versions. Stores/sites that do not want historical copies can disable version retention and configure replacement behaviour accordingly. Document Library Organisation Documents are stored in a private plugin post type and can be grouped with the plugin's hierarchical document-category taxonomy. The plugin's own admin screens provide search and filters for document status, visibility and file type, together with batch upload and bulk actions. Bulk operations can change visibility, assign or clear categories, archive documents, clear lifecycle schedules or move selected documents to the trash depending on the action chosen. Frontend Shortcodes A lightweight link can be rendered with: [kitgenix_document_manager_link slug="my-document"] A card can be rendered with: [kitgenix_document_manager_document slug="my-document"] The card shortcode can also display several comma-separated document slugs and supports presentation attributes for button labels/styles, image size, alignment, target behaviour and the visibility of file metadata/description. Protected documents are not revealed by the shortcode to visitors who fail the document's access rules. Local Document Analytics The plugin records aggregate counts for views/downloads, signed-link usage and recent daily activity in WordPress metadata. It also retains the most recent access timestamp/type for administrative reporting. The analytics implementation does not create visitor profiles and does not intentionally store visitor IP addresses, user agents, referrers or tracking cookies. Older daily buckets are pruned while cumulative totals remain available. File Delivery, Range Requests and Caching Managed files are served through WordPress after access checks. The endpoint supports single byte-range requests, which can help resumable downloads and seeking in compatible browser-displayed content. Eligible public responses can use ETag and Last-Modified revalidation. Protected responses are handled with private/no-store style cache controls so a shared intermediary is not encouraged to cache restricted content. REST and Site Health A plugin REST route can return permitted document metadata by slug. Permission/access checks still apply; it is not intended as an anonymous route for enumerating protected documents. The Site Health integration checks the dedicated Document Manager uploads directory and can flag directory/writability problems that would prevent file management from working correctly. Settings Portability Administrators can export/import plugin configuration and document-category structure as JSON. This portability workflow deliberately does not package the document files themselves, signed-link secrets or analytics history. Typical Uses

安装:

  1. Install and activate Kitgenix Document Manager through WordPress, or upload the plugin folder to /wp-content/plugins/.
  2. Go to Kitgenix → Document Manager.
  3. Add a document and upload a permitted file, or select an existing Media Library attachment.
  4. Choose its visibility and, if required, configure role/capability/user access, signed sharing, version history, and lifecycle dates.
  5. Copy the stable document link or use one of the included shortcodes on a page or post.
  6. If a stable document URL returns 404 after activation or migration, visit Settings → Permalinks and save the page once to refresh rewrite rules.

屏幕截图:

  • Add/Edit Document controls for description, visibility, access presets, roles, capabilities, specific users, signed sharing, schedules, and versioning.
  • Batch Upload for creating multiple document records with shared visibility, category, and versioning defaults.
  • General Settings for allowed file types, default visibility, serving mode, version behaviour, and import/export.
  • Frontend settings.
  • Shortcode Builder for document links/cards and card presentation options.
  • Frontend document-card output with preview/icon, title, optional description, file metadata, and action button.

升级注意事项:

2.0.0 Adds signed-link limits/revocation, lifecycle states and scheduling events, redesigned administration, HTTP Range downloads, stronger attachment-access protection, and additional security hardening. Review the server-protection notes if you use Nginx or existing Media Library files.

常见问题:

Does replacing a document change its public link?

No. The stable document URL points to the document record rather than directly to a particular attachment. Replacing the current file keeps the same stable URL.

Can I restrict documents to logged-in users?

Yes. Set the document to a protected visibility mode. You can also narrow access using roles, a required capability, or specific user IDs.

Can I share a protected file with somebody who does not have an account?

Yes. Generate a signed share link with an expiry date. You can optionally set a maximum-use count, revoke the link, or regenerate the signing secret to invalidate previously issued links.

Can documents automatically go live or expire?

Yes. Each document can have an available-from time, archive time, and expiry time. Access checks enforce those lifecycle dates across the stable URL, shortcode output, and plugin REST endpoint.

Can I keep old versions when I replace a file?

Yes. Version history can retain old attachments. Saved versions can have optional labels/notes and can later be restored or deleted.

Can I display several documents together?

Yes. Use the slugs attribute on [kitgenix_document_manager_document] with a comma-separated list of document slugs.

Does the plugin support PDFs?

Yes. PDF is allowed by default and can be served inline when the global serving mode is set to inline. Browser support determines whether a compatible file is displayed or downloaded.

Is WooCommerce required?

No. The plugin works without WooCommerce. If WooCommerce is active, the Shop Manager role is granted the Document Manager capability on activation so store managers can be permitted to manage documents.

Are existing Media Library files fully hidden from their original URL?

Not necessarily. Existing Media Library attachments remain in their original location. The plugin guards their WordPress REST-media exposure and attachment permalink when access is denied, but an already-known raw uploads URL may still be directly reachable depending on server configuration. See Security and File Protection above.

What is included in settings export/import?

Plugin settings and document categories. Documents, uploaded files, analytics, and signed-link secrets are intentionally excluded.

What happens when I uninstall the plugin?

Plugin settings/log data are removed during uninstall. Document posts and managed attachments are retained by default. If Delete data on uninstall is enabled before uninstalling, the plugin also deletes its document records and associated current/version attachments.

更新日志:

2.0.0 (31 August 2026)