Hidden passwords and urls.

Posted on 2007-11-10
Medium Priority
Last Modified: 2013-11-23
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.
Question by:George Tokas
  • 2
LVL 86

Accepted Solution

jkr earned 1000 total points
ID: 20256508
You could use the same means as IE does - that is, the "Protected Storage" service: http://msdn2.microsoft.com/en-us/library/bb432403.aspx
LVL 16

Author Comment

by:George Tokas
ID: 20256568
Thx for the reply jkr...:-)
Any code sample please?

George Tokas.
LVL 86

Expert Comment

ID: 20256847
Unfortunately not too much:

http://www.codeproject.com/tools/HirPStorage.asp ("Protected Storage")
http://www.codeproject.com/tools/psexplorer.asp ("Protected Storage Explorer")
LVL 28

Assisted Solution

2266180 earned 1000 total points
ID: 20258538
(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.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question