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?