Create an application that uses a socket connection to allow a client to specify
ID: 3681368 • Letter: C
Question
Create an application that uses a socket connection to allow a client to specify a file name of a text file and have the server send the contents of the file or indicate the file does not exist. The server must contain a text based password file ("user name" & "password"). The client must pass a valid username and password to establish a connection with the Server (see Note 1). Notes:
1. A much better approach would be to encrypt the password file. The Java Cryptographic Extension (available since JDK 1.4) provides an API.
Explanation / Answer
it can be done by creating RMI or RPC.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.