Connecting Tech Pros Worldwide Help | Site Map

comments needed

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 22nd, 2005, 06:48 AM
Rajat Chadda
Guest
 
Posts: n/a
Default comments needed

We are asked to write a library (component) that will manage a list of
users. The library will contain the following user information:
userid, first
name, last name, and password. The users information has to be
persistent.
Our library will allow a user of the library to create accounts. Then
a
query can be made to get the user's first name or last name. To verify
password, a userid and password is given. The password is stored in a
way that others will not be able to decipher what the password is by
visually inspecting the storage.

How should we go about implementing this library? What are your design
thoughts?

  #2  
Old July 22nd, 2005, 06:48 AM
Gianni Mariani
Guest
 
Posts: n/a
Default Re: comments needed

Rajat Chadda wrote:[color=blue]
> We are asked to write a library (component) that will manage a list of
> users. The library will contain the following user information:
> userid, first
> name, last name, and password. The users information has to be
> persistent.
> Our library will allow a user of the library to create accounts. Then
> a
> query can be made to get the user's first name or last name. To verify
> password, a userid and password is given. The password is stored in a
> way that others will not be able to decipher what the password is by
> visually inspecting the storage.
>
> How should we go about implementing this library? What are your design
> thoughts?[/color]


class User;
class ListOfUsers;


  #3  
Old July 22nd, 2005, 06:49 AM
Chris Theis
Guest
 
Posts: n/a
Default Re: comments needed


"Rajat Chadda" <rajat.chadda@wipro.com> wrote in message
news:8480cb53.0402231436.20bfb5ad@posting.google.c om...[color=blue]
> We are asked to write a library (component) that will manage a list of
> users. The library will contain the following user information:
> userid, first
> name, last name, and password. The users information has to be
> persistent.
> Our library will allow a user of the library to create accounts. Then
> a
> query can be made to get the user's first name or last name. To verify
> password, a userid and password is given. The password is stored in a
> way that others will not be able to decipher what the password is by
> visually inspecting the storage.
>
> How should we go about implementing this library? What are your design
> thoughts?[/color]

Well, how would you go on implementing this library? Here's the deal, give
some ideas of yourself and I (and most probably others) will give you my
thoughts about it.

Cheers
Chris


  #4  
Old July 22nd, 2005, 06:55 AM
Jorge Rivera
Guest
 
Posts: n/a
Default Re: comments needed

Rajat Chadda wrote:[color=blue]
> We are asked to write a library (component) that will manage a list of
> users. The library will contain the following user information:[/color]
....[color=blue]
> query can be made to get the user's first name or last name. To verify[/color]
....[color=blue]
>
> How should we go about implementing this library? What are your design
> thoughts?[/color]

All this suggests that you are well served by the zillions of databases
on the universe. Why would you want to implement something that exists
so abundantly is beyond my understanding....

If you really this to be really small, then maybe... Still, your post
just points to serializing data into a file, read it back, create a map
of entries in which the userid is the key. How to securely store your
data you have to come up with yourself...
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.