News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPIt.net:
Creating a SECURE file manager with PHP
January 26, 2006 @ 06:59:09

In a follow-up to the previous post on the creation of a file manager with PHP, a new piece has shown up, augmenting it with the promise of a secure file manager created in PHP.

This is a follow-up tutorial on "Creating a file manager with PHP", and I highly recommend reading the previous tutorial first, before reading this tutorial.

In the previous tutorial I showed you how to build a simple file manager, which could upload, download, edit and delete, with PHP, but there was one problem: it wasn't completely secure if you had your upload directory in a public place. That's why in this tutorial I'm going to show you how to fix that.

In the new script he helps you rework the previous script, making it a bit safer for your files to be someplace public. One of the keys is creating a "protected file" with a 404 header at the top, thwarting any would-be leachers. He also includes the code for editing and deleting these protected files as if they were normal...

0 comments voice your opinion now!
phpit creat secure file manager public place phpit creat secure file manager public place


blog comments powered by Disqus

Similar Posts

Nick Halstead's Blog: PHP Competition Results - Third Place (Karol Grecki)

Dave Dash's Blog: Saving a file to a database using symfony and doctrine

PHPBuilder.com: File uploads made easy

MetaFilter.com: Looking for a Secure PHP Mailer...

FrSIRT Advisory: P-News Arbitrary PHP File Upload and Remote Information Disclosure Vulnerabilities


Community Events





Don't see your event here?
Let us know!


list configure composer conference language version podcast laravel unittest series install symfony extension community interview opinion voicesoftheelephpant release introduction api

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework