Giter Site home page Giter Site logo

ifm's Introduction

IFM - improved file manager

This is a simple filemanager. It is a single file solution which uses HTML5, CSS3, JavaScript and PHP. It works like a client-server system where HTML5/CSS3/JavaScript is the client part and the PHP API acts as the server, which reduces the traffic significant. The IFM comes with a embedded Version of jQuery and ACE Editor.

requirements

Client

  • HTML5 and CSS3 compatible browser
  • activated JavaScript

Server

  • = PHP 5.5 (only if using auth; if not PHP 5.4 works either)

  • optional: cURL extention (for remote upload)

issues

Currently there are no known issues.

screenshot

IFM screenshot 1 IFM screenshot 2

installation

Just copy this ifm.php to your webspace - thats all :)

configuration

The configuration is located at the top of the script in a separate configuration class. The options in the class are commented and named laconically. If you have questions anyway write me an email.

authentication

Meanwhile I added a super simple authentication feature using the configuration keys auth and auth_source. You can configure it like this:

    "auth" => 1,
    "auth_source" => 'inline;<username>:<password_hash>',

In the example above the user and password are declared inline. You can also use a file (which should lie out of the $DocumentRoot of the webserver):

	"auth_source" => 'file;/path/to/file',

The file should contain ONLY ONE LINE:

<username>:<password_hash>

The password hash has to be a hash generated by PHPs password_hash() function. The default credentials are "admin:admin".

security information

The IFM was developed with the assumption that the highest level of operation is the scripts base location. So it is neither possible to nagivate nor to use any API function in a level above the script root.

It is highly recommended to restrict access to the script e.g. using a basic authentication.

references

I used some nice free icons in my script which I want to mention here:

ifm's People

Contributors

misterunknown avatar concept211 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.