We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Linklocker Free (encrypt download links)

Development and Programming

Brad Street's avatar
Brad Street
239 posts
17 years ago
Brad Street's avatar Brad Street

Mark - check your PM.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Thanks 😉

       
Brad Street's avatar
Brad Street
239 posts
17 years ago
Brad Street's avatar Brad Street

UPDATE : 07/29/2008 LinkLocker has been updated to version 1.3. Enhancements for this version include: Web page can be displayed using parameter mode=”page” Debug mode can be enabled using mode=”debug”. Using this mode, debugging information is displayed in the page source. Simply search for the phrase “LinkLocker Debugging”. Note: The generated link will not work while mode=”debug”. The URL field is stripped of HTML tags - this will fix the issue that arises if the URL is passed to LinkLocker from another module and the database field holding the url wasn’t specified to be “text-only”. Hash generation has been updated to fix bug that included “/” and “.” characters in the encrypted url hash string.

Please note, while this software is free for personal and commercial use, it has required quite a bit of time and effort to develop and maintain. If you find the module useful, please consider a donation of any amount to help further development. Paypal link will be provided via PM upon request.

       
elixirmarketing's avatar
elixirmarketing
2 posts
17 years ago
elixirmarketing's avatar elixirmarketing

Cheers Brad, that update fixed the issue for me! I was beginning to go crazy trying to figure out what the dickens my htaccess rules were doing… But getting rid of those dots and slashes certainly did the trick…

Thanks for your help and time.. and the plugin!

       
Brad Street's avatar
Brad Street
239 posts
17 years ago
Brad Street's avatar Brad Street

That’s great news! Glad to help.

       
markgledhill's avatar
markgledhill
22 posts
about 17 years ago
markgledhill's avatar markgledhill

Hi Brad,

This module looks excellent.

Quick question - we may need to have downloads for files of 200-300MB on our site (it’s software and patches). Do you think this would prove a problem having php handle downloads for files of this size? It’ll be a very low traffic site, but every now and then a user will need to download a very large file.

cheers

       
Brad Street's avatar
Brad Street
239 posts
about 17 years ago
Brad Street's avatar Brad Street

I can’t imagine a problem you would run into.Technically PHP isn’t handling the downloads - PHP is simply generating the links. As usual, your webserver is still serving the file on its own. That being said, unless you have bandwidth restrictions or some sort of server problem, everything should be fine.

       
Kurt Deutscher's avatar
Kurt Deutscher
827 posts
16 years ago
Kurt Deutscher's avatar Kurt Deutscher

Hey Brad,

I think your current download is missing something:

Error

Unable to load the following language file:

/lang.linklocker.php

I’ve double checked and I don’t see it.

       
Brad Street's avatar
Brad Street
239 posts
16 years ago
Brad Street's avatar Brad Street

Hey Kurt,

Good catch - thanks for pointing that out. Have added the file back into the download.

       
Kurt Deutscher's avatar
Kurt Deutscher
827 posts
16 years ago
Kurt Deutscher's avatar Kurt Deutscher

Thanks Brad,

Looking forward to trying out your Mod.

Q: Will this Mod allow me to download from a file/directory that’s behind the /public_html/ level? So would it allow me to access a directory in a path like this: /home/mysite/secure_file/ or can it just allow obfuscated access to a directory at the public-root level?

The docs were unclear to me, but they hinted that this might only work with files in the public area.

Hope your weekend is going well.

  • Kurt
       
Brad Street's avatar
Brad Street
239 posts
16 years ago
Brad Street's avatar Brad Street

Hey Kurt,

To answer your question, when working with files, this script will currently obfuscate/encrypt the download link, which must be in a publicly accessible area. You may hide the file within weirdly named folders to further obfuscate the location, but that location will never be made visible to anyone downloading via a Linklocker generated link. At least this way, you could keep someone from randomly guessing where the file is stored. Hope that helps, and hope you find the module useful.

       
markgledhill's avatar
markgledhill
22 posts
16 years ago
markgledhill's avatar markgledhill

Hi Brad,

I have installed your LinkLocker module on a couple of websites we are currently developing however I am experiencing a few issues.

I have setup the linklocker within the templates and the download URL’s appear to have been generated and I am able to successfuly download the files, however, when I open/run the files they all seem to be corrupt or broken in some way.

For example, RAR files complain that they are corrupt/damaged, PDF files moan that they’re not valid PDF’s and powerpoint files say that they are missing a stylesheet.

This is probably down to an error on my part, do you have any suggestions, have you come across this before? (This has occured on two seperate servers/setups)

       
Brad Street's avatar
Brad Street
239 posts
16 years ago
Brad Street's avatar Brad Street

At work and can’t test right now, but will play with it tonight and see if I have the same problem.

       
Brad Street's avatar
Brad Street
239 posts
16 years ago
Brad Street's avatar Brad Street

Verified this is a bug in the script - working on fix. Hope to post updated version in a few hours.

       
Brad Street's avatar
Brad Street
239 posts
16 years ago
Brad Street's avatar Brad Street

LinkLocker has been updated to version 1.4 - download link is available in the first post of this thread. Mime types have been updated and now support is confirmed for the following filetypes: .pdf, .ppt, .doc, .xls, .rar, .tar, .zip, .jpg, .jpeg, .gif, .png, .wma, .flv, .mov, .mp3, .wav

The current version of the Linklocker module is free for use on both commercial and non-commercial ExpressionEngine sites. Simply pass it the URL to a file you wish to allow a user to download (but don’t wish to allow them to know the file’s location) and it will provide a download link that hides the file’s true location. Also, it allows you to create a timeout for the link (default is 5 minutes) as well as lock the link to the IP address of the person who is shown the link. Please read the docs.txt file for usage instructions, examples and more.

Enjoy!

       
First 6 7 8 9 10 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.