Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: Serving files

Rangarajan , Suresh ( Cognizant )

2003-10-01


RE: sorting query results in J2EE
Actually there is one.
  The Oracle Internet File System(iFS)
Provides a wide range of accessiblity from ftp to SMB.
cons are u'll have to buy the oracle suite .. and it is highly resource hungry...
 
we developed a document/claims management system using iFS...
we also developed a solution somewhat similar to what arvind has mentioned below:
we defined directories and access rights in the database.
authenticated and served the files thro' the application.
 
 
 
 
-----Original Message-----
From: Arvind Bir [mailto:arvindb@SAFALTEK.COM]
Sent: Friday, September 26, 2003 7:18 PM
To: J2EE-INTEREST@JAVA.SUN.COM
Subject: Re: Serving files

Hi Thuan,
 
I have done similar project in past.
 
We have assumed that there can be different types of documents (.doc embedded with different components like images etc, .html files anything). So we were little reluctant in using the capabilities of Database server (unless you are using high proifile DB like Oracle). We decided to store them as files on server which can be shown or allowed for download after user is authenticated.
 
As it is said, "A bit of layer in computer science solves all the problem". We removed all the permissions for public to the root folder containing these documents, so this resolves the issue of accessing the document directly through URL. Permissions are given only to application server user. So End User (Logging in system) is authorized and authenticated by application running in the application server, if authenticated for the request odf document, apllication server user serves the asked document to end user. Only difference is the channel through which end user is given access.
 
This system is still running very succesful. Hope this works for you even.
 
FYI, there is no Database server available which can serve all the capabilities of File server (so far as per my knowledge, please update me if I am missing any development)
 
Thanks
 
Arvind Bir
 
 
----- Original Message -----
From: Thuan N. Nguyen
To: J2EE-INTEREST@JAVA.SUN.COM
Sent: Friday, September 26, 2003 6:54 PM
Subject: Serving files

Hi all, my current project is for a law company that wants to upload document files contains legal information of their customers (balance of the company, fiscal position, taxes paid/to be paid etc.) and let the customers to access those files online.

 

Because every customer will have their own username and password to access only their own documents, I think the document will be stored into a database and let the customers download instead of saving as a file on server. That way, the customer will not be able to access files by typing URL address.

 

My problem is I don’ know if MySQL is strong enough to handle the file serving task. Does anyone have any idea? What is the most secure way to let the customer access their files?

 

Thanks in advance.

Thuan Nguyen

------------------------------------------------------------------------------

This email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone else, unless expressly approved by the sender or an authorized addressee, is unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution or any action omitted or taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please contact the sender, delete this e-mail and destroy all copies.

==============================================================================

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

          Visit us at http://www.cognizant.com

===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".

©2008 junlu.com - Jax Systems, LLC, U.S.A.