Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Accesing Files stored on remote server by using Credentials

 
Tanuja rj
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A web application hosted on an application server, say Webshpere, is providing file upload functionality. These files are supposed to be stored on a remote machine (basically a ‘file server’). This file server is in a secured environment and has strict access control mechanisms. How do we ensure that the folder in which these files will be ultimately stored will be accessible only to this application and no one else?

Approaches
1.The folder on the file server is given access to only one network user. In this case how does the web application program access this folder using the credentials used id:and password:? Is there an API in Java IO which allows to access a remote shared folder using specific credential?
 
Tanuja rj
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks I got the solution.
 
Kand Bhatt
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tanuja,

Can you please post the code that you have developed to upload files on a remote file system.
I'm trying to develop same functionality but haven't found the soultion yet.

Awaiting for your positive response
Thanks in advance
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"cute kany " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.

cute kany wrote:
Can you please post the code that you have developed to upload files on a remote file system.
I'm trying to develop same functionality but haven't found the soultion yet.

We dont believe in giving out solutions that way, it denies the basic purpose of Javaranch that is learning in a friendly manner. Please see this for more information
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Tanuja rj " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
I can't take it! You are too smart for me! Here is the tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!