Received: from bush.rutgersinsurance.com (rutgersinsurance.com [38.138.71.194]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eA2Jskl49479 for ; Thu, 2 Nov 2000 14:54:46 -0500 (EST) (envelope-from aalang@rutgersinsurance.com) Received: from 6014cwpza006 ([10.10.10.51]) by bush.rutgersinsurance.com (8.9.3/8.9.3) with SMTP id OAA09301 for ; Thu, 2 Nov 2000 14:59:42 -0500 Message-ID: <00c001c04507$119f15e0$330a0a0a@6014cwpza006> From: "Adam Lang" To: References: <19340927123446.8209@mail.gol.com> <3A01C3AA.ACF61B2@10happythings.com> Subject: Re: Connecting remotely - multi tier Date: Thu, 2 Nov 2000 14:57:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200011/50 X-Sequence-Number: 86 But if you are an inhouse developer and the database is only in huse and the client is only in house and the database is not open to the public, do you still have to use development time to build that "middle tier" just so you can roll out an app that uses the company database? Adam Lang Systems Engineer Rutgers Casualty Insurance Company ----- Original Message ----- From: "Greg Speegle" To: Sent: Thursday, November 02, 2000 2:42 PM Subject: Re: [INTERFACES] Connecting remotely - multi tier > > > keke abe wrote: > > > Adam Lang wrote: > > > > > Ok... so if I am writing a distributed application in windows that will use > > > a Postgresql backend, I should have the client interface another "server" > > > application, which will inturn access/retrieve informaton from the database? > > > > I'd like to know if this kind of layering is mandatory or not. Is it really > > unacceptable to expose the Posgresql backend to the rest of the world? Is > > there anything that I should be aware of if I let the clients to talk to > > the backend directly. > > > > regards, > > abe > > I'd say it is mandatory. You are opening yourself up as an easy target for > hackers if they can go directly to your database. Think about it. If any > hole in the database security is discovered, then your goose is cooked > right away. Getting the database off the web and behind a firewall should > be the least you do. That gives you two levels of protection -- the firewall > and the database. > > Plus, on the postgresql side, it is much easier to have one restricted user > account from one specific machine than to try to manage thousands of > dynamically created accounts. > > Just my opinion, of course. > > Greg Speegle >