Subject Re: Helen Borrie - PasswordStorage property. How?
Author delphiman
Helen please come down - to earth!!!
Before you waste any more of our time - whilst we try and figure out what you are trying to tell us.

The following is simply too confusing ...
>As noted in response to one of your previous posts,
What "posts"?

you need to consider the PasswordStorage property.
Lovely! We would love to "consider" this mysterious Property - whatever than means! And wherever it is!!.

>TIB_Connection defaults to psNone... Lovely!! How? Where?

>meaning you must activate the LoginPrompt property
"activate" ???? "LoginPrompt property"???

> and enter the user name and password into the login dialog. What a pleasure! THAT we understand!!

That entire paragraph would surely have made more sense (AND COULD HAVE SAVED US HOURS) if you had put it in simple English as follows .....

"Amongst TIB_Connection Properties you will find "PasswordStorage". If I had left this at the default ("psNone") in the model I sent you you would have needed to activate the LoginPrompt property and enter the user name and password into the login dialog each time you ran your Project. Which rather gets in the way each time you run your project during DesignTime.

Which is why you will note that In your sample project, I set your IB_Connection's PasswordStorage property to psNotSecure, which causes the password to be saved in the DFM file of your data module with light encryption (OK for development, not recommended for deployment). That's why you were successful in running that project without entering a password.


delphiman@...
Mobile: (Australia) 0407-007-159
Phone: ( Australia (02) 6041-1036)
ICQ 63345769



----- Original Message -----
From: Helen Borrie
To: IBObjects@yahoogroups.com
Sent: Thursday, September 13, 2001 4:48 PM
Subject: Re: [IBO] Your user name and password wha wha wha...


At 07:26 AM 13-09-01 +0100, Terry Theunissen wrote:
> > However when I create my own model (as identical as possible - except for DataBase details) being VERY careful to copy the Objects to have the identical Properties as far as possible - I get a (now my favourite) Error 335544472 "Your user name and password are not defined wha wha wha." ..... And I am expected to ask some mysterious "administrator" to wave his/her magic wand ... or something. To make it all better.

Lester Caine wrote:

>When?
>
>The development environment in IBO4 is design to prevent the
>password being saved within the program - as this was a
>complaint in IBO3 - it was in plain text!
>
>There is an option to change this action so that it is saved
>with a key determined either locally or globally depending
>on what you want.
>
>I suspect that you are seein this because the password need
>to be entered again - hence my suggestion to use the logon
>prompt in the first instance.
>
>( I can't tell you which property because I still have 4.2E
>on the production machine, and the mods to this came later -
>notes say 'PasswordStorage' on 4.2Ea )

As noted in response to one of your previous posts, you need to consider the PasswordStorage property. TIB_Connection defaults to psNone - meaning you must activate the LoginPrompt property and enter the user name and password into the login dialog.

In your sample project, I set your IB_Connection's PasswordStorage property to psNotSecure, which causes the password to be saved in the DFM file of your data module with light encryption (OK for development, not recommended for deployment). That's why you were successful in running that project without entering a password.

There are two intermediate settings - psKeyFromMachineReg and psKeyFromUserReg - which both cause the password to be stored in Registry keys.

btw, if you are not bothering to keep the list emails for reference, you can review the list traffic through a threaded newsgroup interface at news://news.atkin.com. That will also be a source of answers to many of your questions. Also, please make use of the FAQ pages on the web site.

HB

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




[Non-text portions of this message have been removed]