Hidden passwords and urls.

One more STUPID question:
Consider the following senario. Have in mind that THIS IS A DESCRIPTION on HOW an application works.
We have an application that looks like a custom internet explorer.
That means a full screen application with less buttons and features from IE.
We have of course the address box...
When in the address box we write a specific string, in example "password," the application with browse to a specific url, in example again "http://www.awebpage.ext".

Remember that both "password" and "http://www.awebpage.ext" have to be secret.

The question now is:
HOW you will check for those strings?
HOW you will store them to check them?

We are NOT interested on browse or anything else.
Just HOW you will check for the password and load somewere the url string.

Thanks again in advance,
George Tokas.
LVL 16
George TokasAsked:
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.

You could use the same means as IE does - that is, the "Protected Storage" service: http://msdn2.microsoft.com/en-us/library/bb432403.aspx

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
George TokasAuthor Commented:
Thx for the reply jkr...:-)
Any code sample please?

George Tokas.
Unfortunately not too much:

http://www.codeproject.com/tools/HirPStorage.asp ("Protected Storage")
http://www.codeproject.com/tools/psexplorer.asp ("Protected Storage Explorer")
(not knowing how IEs protected storage works), I would use a custom storage that will contain:
- "password" md5 hash
- url encrypted with "password"

when the user enters password, I get the md5 hash of it, find the encrypted url, decrypt it with the password and voila.
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
Editors IDEs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.