Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread ask for encryption pwd with InputQuery dialog
Mon, Jun 9 2008 6:33 AMPermanent Link

=?iso-8859-1?Q?Santy_Concepci=F3n?=
Hi!

I want to ask the user for the encryption password while opening the
application, using a simple InputQuery dialog in C/S mode throug Internet.
The problem is that, if the user takes more than X seconds to write the
password, the 'could not connect' message appears.

Is there another simple dialog with modal result?

Thanks!
Mon, Jun 9 2008 6:55 AMPermanent Link

Jan Ferguson

Data Software Solutions, Inc.

Team Elevate Team Elevate

Santy,

I may not be understanding your circumstances but why would you want
someone to not only log onto the database server but also provide an
encryption password as well?

--
Regards,
Jan Ferguson [Team Elevate]


Santy Concepción wrote:

<<Hi!
<<
<<I want to ask the user for the encryption password while opening the
<<application, using a simple InputQuery dialog in C/S mode throug
<<Internet.  The problem is that, if the user takes more than X seconds
<<to write the password, the 'could not connect' message appears.
Mon, Jun 9 2008 8:19 AMPermanent Link

=?iso-8859-1?Q?Santy_Concepci=F3n?=
Hi, Jan. Thanks for your reply.

Our users can configure the application to ask for the encryption password
or login automatically, just for secure reasons.
The problem is that, InputQuery dialog is not modal, and the code continues
executing without waiting for the password, raising an error message.

Thanks!

"Jan Ferguson [Team Elevate]" <jbNOSPAMfergusonATgmailDOTcom> escribió en el
mensaje de
noticias:760BDE08-F14C-4530-AB3A-C4F4D285E265@news.elevatesoft.com...
> Santy,
>
> I may not be understanding your circumstances but why would you want
> someone to not only log onto the database server but also provide an
> encryption password as well?
>
> --
> Regards,
> Jan Ferguson [Team Elevate]
>
>
> Santy Concepción wrote:
>
> <<Hi!
> <<
> <<I want to ask the user for the encryption password while opening the
> <<application, using a simple InputQuery dialog in C/S mode throug
> <<Internet.  The problem is that, if the user takes more than X seconds
> <<to write the password, the 'could not connect' message appears.
>
Mon, Jun 9 2008 8:25 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Santy


Not being a c/s user and looking at the D6 OLH and the example I don't see how your code is continuing unless its in a separate thread. But wouldn't the answer be to get the encryption password before you try and connect?

Roy Lambert [Team Elevate]
Mon, Jun 9 2008 1:13 PMPermanent Link

=?iso-8859-1?Q?Santy_Concepci=F3n?=
Hi, Roy...

I'm asking for the password before calling the connected procedure, so I
don't know why it is fired before writting the password.
I will try a few thing just to ensure I'm doing it correctly.

Thanks

"Roy Lambert" <roy.lambert@skynet.co.uk> escribió en el mensaje de
noticias:77FFB942-ACBA-426D-B43C-3D2ACDDD74D4@news.elevatesoft.com...
> Santy
>
>
> Not being a c/s user and looking at the D6 OLH and the example I don't see
> how your code is continuing unless its in a separate thread. But wouldn't
> the answer be to get the encryption password before you try and connect?
>
> Roy Lambert [Team Elevate]
>
Mon, Jun 9 2008 5:56 PMPermanent Link

"Jeff Cook"
Santy Concepción wrote:

> Hi, Jan. Thanks for your reply.
>
> Our users can configure the application to ask for the encryption
> password or login automatically, just for secure reasons.  The
> problem is that, InputQuery dialog is not modal, and the code
> continues executing without waiting for the password, raising an
> error message.
>

Santy

But the InputQuery IS modal, even though the OLH doesn't say so
explicitly bt look at the example in the OLH and you'll see it can't
work without being modal.

Cheers

Jeff

--
Jeff Cook
Aspect Systems Ltd
www.aspect.co.nz
+
Joan and Jeff Cook
The Cooks Oasis
www.cookislandsoasis.com
Mon, Jun 9 2008 8:46 PMPermanent Link

Jan Ferguson

Data Software Solutions, Inc.

Team Elevate Team Elevate

Santy,

I guess I can understand that they can configure the application to do
either but since it's either one or the other, how is either one more
secure than the other? With a user's password in the server, and the
administrator's ability to grant permissions to the user, in my mind
that is more secure than having them enter the server's encryption
password. Additionally, you can delete a user or give him/her no
permissions while if someone knows the encryption password, what is the
administrator to do if the end-user is given the choice of a user
password or the encryption password?

I can't think of a way you can stop the server from wanting to continue
to start since it is designed to do that. I personally don't know of
any way to modally stop the server from executing and starting while
you have an end-user enter an encryption password. I can't speak for
Tim but I believe it is working as designed.

--
Regards,
Jan Ferguson [Team Elevate]


Santy Concepción wrote:

<<Hi, Jan. Thanks for your reply.
<<
<<Our users can configure the application to ask for the encryption
<<password or login automatically, just for secure reasons.  The
<<problem is that, InputQuery dialog is not modal, and the code
<<continues executing without waiting for the password, raising an
<<error message.
Tue, Jun 10 2008 3:24 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Santy


>I'm asking for the password before calling the connected procedure,

Got to be your code then. Good luck with finding the "undocumented feature"

Roy Lambert [Team Elevate]
Image