Answered You can hire a professional tutor to get the answer.

QUESTION

I need the code for this and I need someone to give me step by step instructions on how to get this to compile and run on Netbeans or Eclipse.

I need the code for this and I need someone to give me step by step instructions on how to get this to compile and run on Netbeans or Eclipse.  

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. Java Cryptography Architecture Reference Guide (JCA Guide) - http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#Introduction (Links to an external site.) Introduction, Code Examples - Computing a Message Digest Object (i.e. one-way hash; using SHA-1).

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question