Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > server/client design: security handling concern

Reply
Thread Tools

server/client design: security handling concern

 
 
puzzlecracker
Guest
Posts: n/a
 
      09-20-2006
Here my general road map.... for multithreaded chat program
(client/server):

Client sends users name, server responds with SecretKey, then users
send the encrypted password. Server responds with ConnectionObject to
indicate the status. All the communication between client and server is
encrypted thereafter.

it is pretty simple program, and I am thinking of using NIO .. What is
the good architecture for such problem?


what is de facto way to approach the design. Thanks

 
Reply With Quote
 
 
 
 
Thomas Hawtin
Guest
Posts: n/a
 
      09-21-2006
puzzlecracker wrote:
> Client sends users name, server responds with SecretKey, then users
> send the encrypted password. Server responds with ConnectionObject to
> indicate the status. All the communication between client and server is
> encrypted thereafter.


The server responds by sending a secret key in the clear?

I suggest using existing procedures/protocols/standards/code. See
javax.net.ssl, for instance.

> it is pretty simple program, and I am thinking of using NIO .. What is
> the good architecture for such problem?


I guess start by googling "reactor pattern".

Admittedly, I don't have a copy of this volume, or have even read it,
but "Pattern-oriented Software Architecture Vol 2: Patterns for
Concurrent and Networked Objects" seems to fit:

http://www.amazon.co.uk/gp/product/0471606952/

Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sequential number user name convention - security concern. humbleFunGuy Computer Security 0 07-17-2008 10:46 PM
security concern with bridge mode in xp =?Utf-8?B?bmljaw==?= Wireless Networking 0 12-20-2004 03:27 AM
PIX 515 Security Concern Ste Cisco 2 09-30-2004 01:00 AM
Bug or security concern related to upload of binary files and IHttpModule? Kenneth Myhra ASP .Net 2 02-16-2004 01:43 PM
Security concern to block Win32 API in ASP.NET? Chapman ASP .Net Security 0 07-28-2003 03:20 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57