PHPackages                             masugadesign/linkvault - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. masugadesign/linkvault

ActiveCraft-plugin[Security](/categories/security)

masugadesign/linkvault
======================

Protect and track downloads on your site. Prevent and track leech attempts.

5.0.3(1y ago)510.8k↓64.3%1PHP

Since Apr 30Pushed 1y ago2 watchersCompare

[ Source](https://github.com/masugadesign/link-vault-craft-cms)[ Packagist](https://packagist.org/packages/masugadesign/linkvault)[ RSS](/packages/masugadesign-linkvault/feed)WikiDiscussions v5 Synced today

READMEChangelogDependencies (2)Versions (54)Used By (0)

Link Vault for Craft CMS
========================

[](#link-vault-for-craft-cms)

### Protect and track downloads on your site. Prevent and track leech attempts.

[](#protect-and-track-downloads-on-your-site-prevent-and-track-leech-attempts)

This is a commercial plugin for Craft CMS 5.

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Settings](#settings)
- [Config Variables](#config-variables)
- [Template Variables](#template-variables)
- [Events](#events)

Requirements
------------

[](#requirements)

- Craft CMS v5.0.0+
- PHP 8.2+

Installation
------------

[](#installation)

Add the following to your composer.json requirements. Be sure to adjust the version number to match the version you wish to install.

```
"masugadesign/linkvault": "5.0.3",

```

Settings
--------

[](#settings)

**Leech Attempt Template**

This template will load with a 403 status whenever someone attempts to leech a download URL as long as leech blocking is enabled. Link Vault provides a default template to use if this setting is left blank.

**Missing File Template**

This template will load with a 404 status whenever someone attempts to download a file that doesn't exist. Link Vault provides a default template to use if this setting is left blank.

Config Variables
----------------

[](#config-variables)

Link Vault has a number of config variables that can be overridden by creating a linkvault.php file in your project's craft/config/ folder. The defaults are displayed below.

```
