Re: Distributed winforms application security

From: Nicole Calinoiu (calinoiu)
Date: 05/07/05


Date: Sat, 7 May 2005 09:53:37 -0400

It sounds like the most likely cause is that the users don't have adequate
permissions to the database. To confirm whether this is the case, might you
be able to answer the following questions:

1. Is an exception thrown when attempting to connect the the database from
the "user" machines? If so, could you please provide the exception details?

2. What kind of database are you using (e.g.: SQL Server, Oracle, Access,
etc.)?

3. Are you authenticating against the database and, if so, are you using
Windows or database accounts? (If you're not sure about the answer to this
one, please provide the database connection string, replacing any real user
credentials with garbage data.)

"Robert" <Robert@discussions.microsoft.com> wrote in message
news:56F72DB6-7C8E-4C4D-9AB0-1FB391B619C4@microsoft.com...
> Hello all,
>
> I am writing a small application for work that connects to a database
> (located on the company network) and writes some information. We use AD
> for
> windows auth and I have administrator staus on the domain and my
> development
> machine. The problem lies when I attempt to run the application from
> another
> users machine(not of administrator status on the domain), it won't allow
> the
> connection to the database. I used the VS connection wizards to make the
> connections rather than writing all the code because i didnt think it
> would
> be a problem. Any ideas on what would be the easiest solution or which
> direction to go from here? Thanks in advance.
>
> Robert



Relevant Pages

  • Re: ADO Connection Timeout
    ... so what happens when a connection failure forces one station to revert ... to a local database? ... Further, you *will* have contention issues, Jet does not support record ... to the central server, but you are willing to live with periods where it ...
    (microsoft.public.data.ado)
  • Re: ADO Connection Timeout
    ... When the first test is run, the results are stored in the central database. ... to the central server, but you are willing to live with periods where it ... i.e. a local database or even a text file. ... to function until the connection can be restored to the server. ...
    (microsoft.public.data.ado)
  • Re: ADO Connection Timeout
    ... to the central server, but you are willing to live with periods where it ... i.e. a local database or even a text file. ... to function until the connection can be restored to the server. ...
    (microsoft.public.data.ado)
  • Re: ADO Connection Timeout
    ... much rather write stored procedures and use server side cursors. ... local database, it is vital that I get the information to a central server. ... Once the connection is restored, ...
    (microsoft.public.data.ado)
  • Re: ESQL/C documentation nightmare
    ... documentation about explicit and implicit connections. ... CONNECTION connection statements for new applications of Version 6.0 ... the SQL database statements (such as ...
    (comp.databases.informix)

Quantcast