Another Client Server Program

N

nish

Hi friends,

In the another program

Q CREATE A server that asks for a password, then opens a file and
sends the file over the network connection. Create a client that
connects to this server, gives the appropriate password, then captures
and saves the file.


Your suggestions are welcome


Nish
 
L

Lew

nish said:
Hi friends,

In the another program

Q CREATE A server that asks for a password, then opens a file and
sends the file over the network connection. Create a client that
connects to this server, gives the appropriate password, then captures
and saves the file.


Your suggestions are welcome

This is not a homework service. You can't just post all your homework
questions spamwise at the group.

Post an SSCCE of what you've tried and ask specific questions about things
that trouble you.

Note that your posts so far do not actually contain a request. What exactly
are you looking for people to do?
 
J

Joshua Cranmer

nish said:
Hi friends,

In the another program

Q CREATE A server that asks for a password, then opens a file and
sends the file over the network connection. Create a client that
connects to this server, gives the appropriate password, then captures
and saves the file.


Your suggestions are welcome


Nish

The JavaDocs are your friends.

Poke around java.net.
 
R

Red Orchid

Message-ID said:
Q CREATE A server that asks for a password, then opens a file and
sends the file over the network connection. Create a client that
connects to this server, gives the appropriate password, then captures
and saves the file.


It seems homework. So, if security implementation is added to your
work, it will be good because network is not safe.

For example,
(Client)
1) encrypt a password with public-key.
2) send it to Server.
(Server)
3) decrypt the password with private-key.
4) ...
5) encrypt a file with the decrypted password.
6) send it to Client.
(Client)
7) decrypt the file with the password.
8) ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,082
Members
48,773
Latest member
Kaybee

Latest Threads

Top