Connecting Tech Pros Worldwide Help | Site Map

comments needed

Rajat Chadda
Guest
 
Posts: n/a
#1: Jul 22 '05
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?
Gianni Mariani
Guest
 
Posts: n/a
#2: Jul 22 '05

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;


Chris Theis
Guest
 
Posts: n/a
#3: Jul 22 '05

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


Jorge Rivera
Guest
 
Posts: n/a
#4: Jul 22 '05

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...
Closed Thread