Git Product home page Git Product logo

createsecuredynamicdownloadlinks's Introduction

createSecureDynamicDownloadLinks

Very easy to implement application to create highly secure, dynamic, download links for your application. 5 min integration with any PHP application. Download link is dynamic and secure. Folder path will be hidden so downloader not know the exact path and file name. After download link will be blocked. A specific time line for download can be set. OOPS and secured code.

Any kind of assist required inform me.

How to install:

  1. Copy all files and folder to your application folder eg. /var/www/html/
  2. Generate Database table by running this sql -- -- Table structure for table downloader --

DROP TABLE IF EXISTS downloader; CREATE TABLE IF NOT EXISTS downloader ( id int(11) NOT NULL, secure_link varchar(255) NOT NULL, expiry datetime NOT NULL, downloaded tinyint(1) NOT NULL DEFAULT '0' ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;

-- -- Indexes for dumped tables

-- -- Indexes for table downloader

ALTER TABLE downloader ADD PRIMARY KEY (id);

-- -- AUTO_INCREMENT for dumped tables

-- -- AUTO_INCREMENT for table downloader

ALTER TABLE downloader MODIFY id int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=1;

-- -- above all sql need to run in your database [you can change the name or field then you need to update the code also

  1. You can change the downloadFolder also as per your requirement. Where you kept the file for user to download. Path will be hidden by this application. So that no body know the exact location of download file folder.
  2. To create links which you can send via mail to intended user to download is your_path/generate_link.php
  3. Send the link to the user

That's all :) freely use and update as you required.

createsecuredynamicdownloadlinks's People

Contributors

dhirajpatra avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.