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
Lew - 08 Apr 2007 23:12 GMT
> Hi friends,
>
[quoted text clipped - 6 lines]
>
> 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?

Signature
Lew
Joshua Cranmer - 09 Apr 2007 01:27 GMT
> Hi friends,
>
[quoted text clipped - 8 lines]
>
> Nish
The JavaDocs are your friends.
Poke around java.net.
Red Orchid - 09 Apr 2007 07:24 GMT
"nish" <nishant.friend@gmail.com> wrote or quoted in
Message-ID <1176070191.179372.27470@d57g2000hsg.googlegroups.com>:
> 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) ...