PHP Classes
Icontem

Class: EFC/XFSS - Extended File Stealth System


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lopo Lencastre de Almeida  >  EFC/XFSS - Extended File Stealth System  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: EFC/XFSS - Extended File Stealth System Support forum
Base name: efc_xfss
Description: Protecting uploaded files using cryptography
Related top rated classes: , , ,
Version: 1.0.1
Required PHP version: 4.0
License: GNU Lesser General Public License (LGPL)
All time users: 1785 users
All time rank: 1524
Week users: 4 users
Week rank: 1658
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

Screenshots

A sample screenshot taken from example included / Uma imagem do exemplo incluído
File Role Description
Accessible without login Image file Screenshot Screen A sample screenshot taken from example included / Uma imagem do exemplo incluído

Author

Picture of Lopo Lencastre de Almeida
Name: Lopo Lencastre de Almeida is available for providing paid consulting. Contact Lopo Lencastre de Almeida .
Published packages: 3 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Home page: http://www.linkedin.com/in/humaneasy
Age: 43
All time rank: 900
Week rank: 997

Groups

Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Cryptography Encrypting, decrypting and hashing data View top rated classes

Detailed description

The main idea behind "EFC/XFSS - Enhanced File Crypt/Extended File Stealth System" is to have your uploaded files safe in the server in a way that, even if someone can get them, no one can read them without knowing a few details to decrypt the files.

The class uses a random trick to select the encryption method that is used. This will always generate diferent encrypted files.

The file names are also obfuscated, so a sneaker will not know what the original format was.

This class was mainly developed to be used with GPL'ed Care2002 Medical Information System (www.care2x.org). However, its use was postponed because most of the files uploaded were images and most of them do not have any personal identifiable info on them.

This class, in a broader sense, has yet a long way to go. For now it is simply a sub-class of part of the RC4Crypt class. It allows an easy process of encryption and decryption of uploaded files. It requires libmcrypt support and, when possible, an SSL internet connection to be used.


The class needs mcrypt PHP functions. The next challenge will be to encrypt and decrypt the files at client side, perhaps with Javascript, for those that cannot have an SSL connection, and also the creation of a replacement class for those that do not have the possibility to use libmcrypt.

The only files that you need to look at into are index.php, srcefc.php, mkconfig.php and .htaccess (the last one to use in the secured directory for strict security if you can not put it outside Web document tree).

The documentation is inside these PHP scripts.

You also need to search for the definition of __SECURE_PATH__, and modify the path in the above PHP files.

Freshmeat project

EFC/XFSS - Extended File Stealth System
Project record: efcxfss
Popularity score: 53.68
Vitality score: 1.0

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Perfect (100.0%)
-
Perfect (100.0%)
-
-
Sufficient (70.0%)
165
Month:
Not yet rated by the users

Applications that use this class

Link Description
Care3G Care3G Attachment Manager Module
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Care2x Care2x HIS Software
Care3G Care3G Modular Health Information System

Files

File Role Description
Accessible without login Plain text file README.txt Doc. Some documentation for those that don't want to read the code inside the files.
Plain text file .htaccess Data Simple protection for SECURED directory under Apache
Plain text file cleanex.php Aux. Small utility to clean up your test SECURED directory. Don't use it in a production environment without caution.
Plain text file crypt_class.php Class Slightly modified RC4Crypt Class
Plain text file efc.class.php Class The Class
Plain text file index.php Example Test file. Read it to see how to use the Class.
Plain text file mkconfig.php Example Generates config for test program.
Plain text file srcefc.php Example Test file used by index.php. Read it to see how to use the Class to retrieve encrypted files.
Download all files: efc_xfss.tar.gz efc_xfss.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products