This topic is locked

Document Security

9/3/2008 9:20:23 AM
PHPRunner General questions
V
vgvetter author

Intend to maintain 300Meg in multiple PDF documents on line for about 500 clients.
These are confidential files, and definitely want to exclude search engines.
Am I on the right track using PSPRunner for this application?
Any and all comments or directions to appropriate forum sections truly appreciated.
ThanX,
Vern Vetter

Sergey Kornilov admin 9/3/2008

Sure, this can be done using PHPRunner.
As a first step put those files to a folder on the web server is not accessible via HTTP.

Create a database table to store document names (one record per document). Use advanced security settings to restrict access to certain documents for certain clients (not required if you like all customers to have access to all documents).

V
vgvetter author 9/3/2008

Sure, this can be done using PHPRunner.

As a first step put those files to a folder on the web server is not accessible via HTTP.

Create a database table to store document names (one record per document). Use advanced security settings to restrict access to certain documents for certain clients (not required if you like all customers to have access to all documents).

L
laurent 9/12/2008

Sure, this can be done using PHPRunner.

As a first step put those files to a folder on the web server is not accessible via HTTP.

Create a database table to store document names (one record per document). Use advanced security settings to restrict access to certain documents for certain clients (not required if you like all customers to have access to all documents).


Hi Sergey,
A. Could you please explain more in detail on how to achieve this?

  1. How the user can download/view the file from this non HTTP folder?
  2. How the user can upload the file to this non HTTP folder?
    B. Another solution would be to encrypt these files before the user upload them to an HTTP folder and before the user downloadload/view them? What is the best way to do this?
    Thanks

Sergey Kornilov admin 9/12/2008

Laurent,
all you need to do is to set "Edit as" type of any text field to 'File/Image' and "View as" type to 'Document download'. Choose correct folder on the web server where files will be stored.
I'm not sure how encryption is relevant here.
Watch "How to display images and upload documents to the database" video at http://xlinesoft.com/phprunner/php-database.htm for more details.