1. Password

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

new topic     » topic index » view message » categorize

2. Re: Password

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Password

>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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Password

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: Password

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
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu