Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 5FE8D9FB50C for ; Mon, 22 Jan 2007 10:48:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 27813-01 for ; Mon, 22 Jan 2007 10:48:14 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by postgresql.org (Postfix) with ESMTP id 546239FB4E2 for ; Mon, 22 Jan 2007 10:48:19 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1018983ugf for ; Mon, 22 Jan 2007 06:48:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DU4+Q3lIE7VomW9FOTqqWppC1OHDZlaS//78HLM+ManFnPYkaViYnhWoys7+3eY5COVTACKwhn1zD5HK4kwF5AwvNC8uoEVdfzpnE6PC3qmI4J2H0D855k+WvlrZFilIypehFUiBIaMs8CgIT18ny02XK4Rn6s2jwL3N2fOWF+4= Received: by 10.67.22.2 with SMTP id z2mr7725542ugi.1169477297356; Mon, 22 Jan 2007 06:48:17 -0800 (PST) Received: by 10.66.217.13 with HTTP; Mon, 22 Jan 2007 06:48:17 -0800 (PST) Message-ID: <55c095e90701220648m25a2b818g56f275bef06f53da@mail.gmail.com> Date: Mon, 22 Jan 2007 12:48:17 -0200 From: "Ezequias Rodrigues da Rocha" To: "Ludek Finstrle" Subject: Re: Password security [where is the password] Cc: pgsql-odbc@postgresql.org In-Reply-To: <20070122130359.GC26825@soptik.pzkagis.cz> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_111313_8699748.1169477297210" References: <55c095e90701201043s7b2e5b59vf4e0336db68ff374@mail.gmail.com> <20070122062612.GB22535@soptik.pzkagis.cz> <55c095e90701220339s49d380d5u6653040f5b8da19@mail.gmail.com> <20070122115205.GA26825@soptik.pzkagis.cz> <55c095e90701220448ra1cffe8n48ec49a70f64a361@mail.gmail.com> <20070122130359.GC26825@soptik.pzkagis.cz> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/41 X-Sequence-Number: 8580 ------=_Part_111313_8699748.1169477297210 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I know that the correct odbc usage (on windows) is with a "Application Server" on only one machine, but now we only have the capability to use direct connection. Further more in the future we will implement a server application. Now I have another question: My clients are Fat32 and I don't meant to change all clients to NTFS so my Security TAB doesn't appears (I consider it occurs becouse the Filesystem). Did I correct ? Thank you so much for the explanations. Regards 2007/1/22, Ludek Finstrle : > > Mon, Jan 22, 2007 at 10:48:15AM -0200, Ezequias Rodrigues da Rocha > napsal(a): > > 2007/1/22, Ludek Finstrle : > > >Mon, Jan 22, 2007 at 09:39:17AM -0200, Ezequias Rodrigues da Rocha > > >napsal(a): > > >> The latest item (FILE) where is it specifically? > > > > > >Hmmm, what OS are you using? > > >I suppose it's Windows. Have you already used "ODBC Data Source > > >Administrator"? If you aren't let's try it. It's located in > > >Administrative > > >tools (in Control panel). There are some tabpages: > > >1) User DSN (stored in HKCU) > > >2) System DSN (stored in HKLM - you can specify the ACL with regedt32) > > >3) File DSN - you specify the file when you adding the DSN > > > > > >> I must garantee that only admin users can see this password by now. > Any > > >> other help > > > > > >You can do it with 2) System DSN with correct registry ACL on the DSN > or > > >with 3) File DSN with correct File ACL. > > > > Many acronyms. My clients are Windows. I really don't know how to make > this > > work. What is ACL ? > > ACL =3D access control list > file ACL (in explorer mouse right click on file -> Properties -> tab > Security) > registry ACL (in regedt32 choose the key and in menu Security -> > Permissions) > DSN =3D ODBC DataSource > > Let's run "DataSources (ODBC)" or how is the manager named in Control > Panel, > define some DSN (User x System x File) and then let's try change the > ACL for it in registry or in filesystem. Then you can verify it as admin > and normal user. > > Feel free to ask more if something doesn't work as you expect. > I hope I give you all informations what you need. > > Regards, > > Luf > > > >> 2007/1/22, Ludek Finstrle : > > >> > > > >> >> I would like to know where is the password setted on the > connection > > >> >Dialog. > > >> >> If it remains after the client shutdown it must be in some place > in > > >the > > >> >hard > > >> >> disk. I am afread about it. Can anyone tell me if someone can > catch > > >it > > >> >> (hacker) ? > > >> > > > >> >It's stored in registry: > > >> >System DSN: > > >> >HKLM\Software\ODBC\ODBC.INI\ in string value Password. > > >> >All the users with access to the computer can read it (don't forgot > > >> >the network registry access). > > >> > > > >> >User DSN: > > >> >HKCU\Software\ODBC\ODBC.INI\ in string value Password. > > >> >If everything is properly only the user and Admin can read it. > > >> > > > >> >File DSN: > > >> >in file > > >> >All the users with access to the file can read it. > > >> > > > >> >Regards, > > >> > > > >> >Luf > > >> > > > >> >P.S. The admin could change the default ACL on registry tree. > --=20 =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D Atenciosamente (Sincerely) Ezequias Rodrigues da Rocha =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- A pior das democracias ainda =E9 melhor do que a melhor das ditaduras The worst of democracies is still better than the better of dictatorships http://ezequiasrocha.blogspot.com/ ------=_Part_111313_8699748.1169477297210 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I know that the correct odbc usage (on windows) is with a  "Appli= cation Server" on only one machine, but now we only have the capabilit= y to use direct connection.

Further more in the future we will imple= ment a server application. Now I have another question:

My clients are Fat32 and I don't meant to change all clients to= NTFS so my Security TAB doesn't appears (I consider it occurs becouse = the Filesystem).

Did I correct ?

Thank you so much for the ex= planations.

Regards

2007/1/22, Ludek F= instrle <luf@pzkagis.cz>:
Mon, Jan 22, 2007 at 10:48:15AM -0200, Ezequias Rodrigues da Rocha napsal(a= ):
> 2007/1/22, Ludek Finstrle <= luf@pzkagis.cz>:
> >Mon, Jan 22, 2007 at 09:39:17AM -0200, = Ezequias Rodrigues da Rocha
> >napsal(a):
> >> The latest item (FILE) where is it= specifically?
> >
> >Hmmm, what OS are you using?
>= ; >I suppose it's Windows. Have you already used "ODBC Data Sou= rce
> >Administrator"? If you aren't  let's tr= y it. It's located in
> >Administrative
> >tools (in = Control panel). There are some tabpages:
> >1) User DSN (stored in= HKCU)
> >2) System DSN (stored in HKLM - you can specify the ACL with r= egedt32)
> >3) File DSN - you specify the file when you adding the= DSN
> >
> >> I must garantee that only admin users ca= n see this password by now. Any
> >> other help
> >
> >You can do it with 2)= System DSN with correct registry ACL on the DSN or
> >with 3) Fil= e DSN with correct File ACL.
>
> Many acronyms. My clients are = Windows. I really don't know how to make this
> work. What is ACL ?

ACL =3D access control list
file ACL= (in explorer mouse right click on file -> Properties -> tab Security= )
registry ACL (in regedt32 choose the key and in menu Security -> Pe= rmissions)
DSN =3D ODBC DataSource

Let's run "DataSources (ODBC)&q= uot; or how is the manager named in Control Panel,
define some DSN (User= x System x File) and then let's try change the
ACL for it in regist= ry or in filesystem. Then you can verify it as admin
and normal user.

Feel free to ask more if something doesn't = work as you expect.
I hope I give you all informations what you need.
Regards,

Luf

> >> 2007/1/22, Ludek Finstrle <= ; luf@pzkagis.cz>:
> >> = >
> >> >> I would like to know where is the password s= etted on the connection
> >> >Dialog.
> >> >&= gt; If it remains after the client shutdown it must be in some place in
> >the
> >> >hard
> >> >> disk. = I am afread about it. Can anyone tell me if someone can catch
> >i= t
> >> >> (hacker) ?
> >> >
> >&g= t; >It's stored in registry:
> >> >System DSN:
> >> >HKLM\Software\ODBC\O= DBC.INI\<DSN name> in string value Password.
> >> >All= the users with access to the computer can read it (don't forgot
> >> >the network registry access).
> >> >
&g= t; >> >User DSN:
> >> >HKCU\Software\ODBC\ODBC.INI\= <DSN name> in string value Password.
> >> >If everythi= ng is properly only the user and Admin can read it.
> >> >
> >> >File DSN:
> >> >= in file
> >> >All the users with access to the file can read= it.
> >> >
> >> >Regards,
> >> &= gt;
> >> >Luf
> >> >
> >> >P.S. T= he admin could change the default ACL on registry tree.



--
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D
            = ;            &n= bsp;         Atenciosamente (S= incerely)
          &n= bsp;            = ; Ezequias Rodrigues da Rocha
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
A pior das democracias ainda =E9 melho= r do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorshi= ps
http://ezequiasrocha.b= logspot.com/ ------=_Part_111313_8699748.1169477297210--