Giter Site home page Giter Site logo

fileuploads's Introduction

FileUploads

Description:

There is a file uploads application developped in Laravel 5.8 The application uses Laravel out of the box authentication system.
There is Uploads Form page and Uploads List page with download links.
Files are uploaded on Uploads Form page, encrypted and saved in DB.
Files may be downloaded from Uploads List page.
File names and file types are restricted to rules to keep the app secure.
The file to upload must be a file of type: pdf, doc, docx, jpeg, jpg, png, gif.
Also, File Name may contain latin alphanumeric chars and dots only without spaces!
For example, "apple3.png" is legal filename.
Yet "Insert into", "1 OR Delete * " are illegal filenames.

Steps to reproduce.
git clone https://github.com/avrahamm/FileUploads.git

cd FilesUploads

composer install

cp .env.example .env

php artisan key:generate

php artisan migrate

Create DB and priveleged user,
Open .env file and set your DB credentials,
for example:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ewave
DB_USERNAME=avraham
DB_PASSWORD=123456

Optionally, you can replace APP_NAME=Uploads

I worked on Windows with XAMP, and configured virtual host - you can make your choise.

fileuploads's People

Contributors

avrahamm avatar

Watchers

James Cloos 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.