Login   Register  
PHP Classes
elePHPant
Icontem

EFC/XFSS - Extended File Stealth System

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Lopo Lencastre de Almeida
Name: Lopo Lencastre de ... is available for providing paid consulting. Contact Lopo Lencastre de ... .
Packages: 3 Browse all classes by Lopo Lencastre de Almeida Browse all classes by
Country: Portugal Portugal - PHP jobs in Portugal
Age: 46
All time rank: 97811 in Portugal Portugal
Week rank: 2045 Down27 in Portugal Portugal Down


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Lopo Lencastre de Almeida  >  EFC/XFSS - Extended File Stealth System  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: EFC/XFSS - Extended File Stealth System
Base name: efc_xfss
Description: Protecting uploaded files using cryptography
Version: 1.0.1
PHP version: 4.0
License: GNU Lesser General Public License (LGPL)
All time users: 2110 users
All time rank: 1651
Week users: 0 users
Week rank: 2020 Equal
 
  Groups   Screenshots Screenshots   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

  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

  Files folder image 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


  Freshmeat project  
EFC/XFSS - Extended File Stealth System
Project record: efcxfss
Popularity score: 58.65
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%)
189
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
Donation Help us keep the free software flowing

  Files folder image 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.
Accessible without login Plain text file .htaccess Data Simple protection for SECURED directory under Apache
Accessible without login 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
Accessible without login Plain text file index.php Example Test file. Read it to see how to use the Class.
Accessible without login Plain text file mkconfig.php Example Generates config for test program.
Accessible without login 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.