Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Accesing Files stored on remote server by using Credentials

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks I got the solution.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Onion rings are vegetable donuts. Taste this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic