Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
$14

CC BY-NC-SA 3.0

Unlimited sites, servers No source distribution Non-commercial use only Attribution required
$24

Developer License

Unlimited projects Source and binary distribution 1 year support
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

  • Released: Feb 10, 2012
    Last Update: Jun 5, 2012
  • Language: PHP
  • Category: Security
  • Time / costs savings: 12h / $720 *

safeUpload

safeUpload
Developed by Bruno Bernardino, Released Feb 10, 2012

safeUpload is an independent system that allows you to share files in a secure fashion by uploading files that can only be accessed with a username and a password.

PHP

Tags: bootstrap , download , file , file sharing

Share files easily & safely on your server, without risking unauthorized downloads. Useful for:

  • Sharing work files with clients and colleagues
  • Sharing private images and videos with friends and family
  • Creating a pay-wall to digital content
  • And much more!

Installation / Setup

You need to create the uploads directory, otherwise the files won't be uploaded there. This is explained in the files, but the uploads directory should be outside the web accessible files (htdocs/, www/, html/), for improved security. It's how the script was designed. It'll work without that anyway.

Other than that, you just need to edit path & security salt on the inc/safeupload.class.php file (initial class properties/variables, commented with explanations)

Also, note that the admin.php file should be protected by .htpasswd/.htaccess or something similar, since it has no username/password protection. This is the file you access to upload & delete files.

Additional security

The demo isn't password protected, but you can and should protect your script at least with basic HTTP authentication (via .htaccess or otherwise).

Note: Files uploaded via the demo are removed every 30 minutes. The maximum upload size there is 20MB, but the script itself has no limit (server setting in this case).

Credits

safeUpload front-end is built using Twitter's Bootstrap 2.0. It includes its minified CSS & JS files. It includes all the available components and icon images. You can get the source files and more information about it at http://twitter.github.com/bootstrap/

Wanted component

This component was created in a response to a request in the wanted components section. If you have additional needs that you can find good solutions for, post them there.

User Reviews

No reviews have been submitted yet.
Read all 2 comments »

Questions & Comments


Or enter your name and Email
You must be logged-in to vote. Log-in to your account or register now.