User ID and Password for an Application.....

                User Login ID and a Password screen.

                I created a System Modal Dialog to get the Login and Password but I would like to know how and where should I store that

                May be
                1. Registry or
                2. File

                and I can use the CAPI to store the password in a cryptic way.

                I also have a Administartor Login and Password, but I would like to store it so that it does not get hacked or deleted ( file or
                registy), can anyone give me a solution for this?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi Man,

 I hope you got the answer last time itself. Or do you want me to answer it again?

No Probs,
Feel free to ask.
My mail id is

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hi Prasad,
 It is unfortunate the things that
 happened before.
 Since, I am new to this Discussion
 group. Actually, I want to propose the
 answer but I am not aware that it will
 lock the discussion list.

 Anyway, what is the current status?
 If u find anyother solution, please
 post it here.
---------------------------------------- If u make ur logic bit more complexity,
 then it will be complicated for
 malicious user to get into that.
 (complexity in logic,but not in task)
->Regarding the access of the Password
  File, I know, even the novice user can
  change the attribute of the file.But
  my intention is not that.
  There is a way, where u can restrict
  the user to read your file,deleting  
  it and even copying it.

Still, if u didnt find solution, we can
discuss more towards this solution.

bye for now

------> I dont want to make fool of
others. Instead, I am not aware of the
facts. thats the thing.

Comments over the solution(it will
refine our views) is always better than
comments towards the solution.

Good Luck

Hari>> Sorry man, for the misunderstanding. But you know there are some guys out here who simply lock the questions. Well i did not know you were new to the forum. WELCOME to it. And i agree that comments over solutions will refine our views. The same mission may be accomplished in mny ways and its the quest for the best that'll better us.

Feel free to interact.
My Mailid is
I thought there was a solution in this site..and i lost 10 points.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.