MadSci Network: Computer Science
Query:

Re: How do you make a Visual Basic program...

Date: Tue Apr 23 14:59:30 2002
Posted By: Steve Cartoon, Web Engineer
Area of science: Computer Science
ID: 1017196506.Cs
Message:

G'day!
   Well, there are two types of Internet-based password protection schemes.
   The first type would look like a standard pop-up window asking for your 
username and password. If this is the case, then you are out of luck. This 
would be UNIX-style authentication, and it is purposefully unhackable. It 
does not remember the keystrokes typed in, and the passwords stored in the 
username/password file are encrypted as well. But, as long as that 
particular area had been successfully accessed and you kept that 
particular browser window open, you could return to that area at any time 
and not have to log in again.

   The other type is the programmed variety.
   Now, if this was YOUR site you were working on, you might consider 
setting a cookie (not all cookies are bad) upon sucessful registration. 
When the login screen happens, the cookie is read (if it exists), the 
registration database is consulted, and the appropriate record could be 
accessed and its data manipulated before the HTML is displayed. You could 
essentially "pre-fill" out stuff this way.
   Of course, the big disadvantage of this method is that anyone using 
that particular machine could login without having to know any security 
information at all, if the password were one of these pre-filled fields.

   Of course, these techniques can be somewhat circumvented. You could 
have a keyboard listener recording keystrokes in the background and 
analyze the result log later for what you think could be the password. We 
used to do this kind of stuff often back in the early 1990s when TSR 
(Terminate-and-Stay-Resident) programming was all the go. But you would 
really need C/C++ for that kind of program. I'm not sure Visual Basic can 
create a program that would continue to run in the background after it had 
finished executing.

   Not much help, I'm afraid, but it's a very tricky and sensitive 
subject, no matter what programming language or operating system you try 
to use.

   Good luck!
   Steve Cartoon
   Up Against the Wall of Science





Current Queue | Current Queue for Computer Science | Computer Science archives

Try the links in the MadSci Library for more information on Computer Science.



MadSci Home | Information | Search | Random Knowledge Generator | MadSci Archives | Mad Library | MAD Labs | MAD FAQs | Ask a ? | Join Us! | Help Support MadSci


MadSci Network, webadmin@www.madsci.org
© 1995-2002. All rights reserved.