1. Password
- Posted by Matt Stancliff <sysop at ATL.MINDSPRING.COM> Sep 21, 1996
- 1735 views
Is there a way to make a password input prompt? AllI can think of is to have some kind of match sequence where you set the passowrd in the ex file. Thanks in advance. -Matt
2. Re: Password
- Posted by "Lucien T. Elliott" <lucien at NY.FRONTIERCOMM.NET> Sep 21, 1996
- 1709 views
matt, what exactly are you desiring to do.. there are many different schemes for entering as well as storing passwords. the simplest of course is to embed the password into the exe and compare it with users input. the down side of this is that you cannot easily change the password, and every user uses the same password. a more elaborate scheme is to save the users personal password in a file of allowed users (scrambled of course). and compare the users entered password with the content of his/her record in the allowed user file. hth Lucien T. Elliott Warwick Information Technology 29 Hawthorn Avenue Warwick, NY 10990 (914) 986 5139
3. Re: Password
- Posted by Matt Stancliff <sysop at ATL.MINDSPRING.COM> Sep 21, 1996
- 1715 views
>matt, >what exactly are you desiring to do.. there are many >different schemes for entering as well as storing >passwords. the simplest of course is to embed the >password into the exe and compare it with users >input. the down side of this is that you cannot easily >change the password, and every user uses the >same password. That's what I want to do but I have no idea how to do it. >a more elaborate scheme is to save the users >personal password in a file of allowed users (scrambled >of course). and compare the users entered password >with the content of his/her record in the allowed user >file. maybe later. -Matt Stancliff
4. Re: Password
- Posted by "Lucien T. Elliott" <lucien at NY.FRONTIERCOMM.NET> Sep 21, 1996
- 1676 views
matt, ok simplest case... ....................................start pseudo-code........................... ......... sequence pw-inp, pw pw-inp = " " pw = "PLEASE" ... .. other initialization code, etc.. .. -- get user password puts(SCREEN,"Enter password: ") pw-inp = gets(KEYB) puts(SCREEN,'\n') if pw-inp <> pw -- this is case sensitive so uppercase must be entered -- issue error message -- take whatever action you wish (loop back to top to try again?) end if -- continue rest of code to be executed by successful password entry. hth Lucien T. Elliott Warwick Information Technology 29 Hawthorn Avenue Warwick, NY 10990 (914) 986 5139
5. Re: Password
- Posted by Matt Stancliff <sysop at ATL.MINDSPRING.COM> Sep 21, 1996
- 1699 views
Thanks! I really appricate it. -Matt >matt, > >ok simplest case... > >....................................start pseudo-code........................... >......... > >sequence pw-inp, pw >pw-inp = " " >pw = "PLEASE" > >... >.. other initialization code, etc.. >.. > >-- get user password > > puts(SCREEN,"Enter password: ") > pw-inp = gets(KEYB) > puts(SCREEN,'\n') > > if pw-inp <> pw -- this is case sensitive so uppercase must be entered > -- issue error message > -- take whatever action you wish (loop back to top to try again?) > end if > >-- continue rest of code to be executed by successful password entry. > >hth >Lucien T. Elliott >Warwick Information Technology >29 Hawthorn Avenue >Warwick, NY 10990 >(914) 986 5139 >