X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 13ACF11F60B0 for ; Tue, 25 Apr 2006 07:40:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 77985-05 for ; Tue, 25 Apr 2006 07:40:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from pih-relay05.plus.net (pih-relay05.plus.net [212.159.14.132]) by postgresql.org (Postfix) with ESMTP id D21AB11F60AF for ; Tue, 25 Apr 2006 07:40:21 -0300 (ADT) Received: from [213.162.97.75] (helo=mail.metronet.co.uk) by pih-relay05.plus.net with esmtp (Exim) id 1FYKxv-0007BQ-Sk; Tue, 25 Apr 2006 11:40:20 +0100 Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 4A6AB73677; Tue, 25 Apr 2006 11:43:47 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id AE4AC15EA6; Tue, 25 Apr 2006 11:40:13 +0100 (BST) Message-ID: <444DFC8D.9060801@archonet.com> Date: Tue, 25 Apr 2006 11:40:13 +0100 From: Richard Huxton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Ramasamy Cc: 'Postgresql Performance' Subject: Re: security for row level but not based on Database user's References: <1145615328.300612.56380@e56g2000cwe.googlegroups.com> <444DEE78.7020703@archonet.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/543 X-Sequence-Number: 18627 Ramasamy wrote: > Hi Richard , > Very good Day. Great information that you given to me. Great glad you think it's useful. Oh, don't forget to cc: the mailing-list - that's the convention around here. > I will try in your idea. Here I am using SQL server 2000(Even I can use SQL > Sever 2005 too if needed.) We are dealing with lot of databases with lot of > business logic. I think your information will great for me. Ah - you're not using PostgreSQL? Well, the principle is the same but you should be aware that this is a PostgreSQL list so the details will be different. > Let I try and I will back with you. > > Thanks and hands of too you. > > But i don't have any idea of getting Session from databases (I think you are > meaning that user can be handle with session). If you have some more idea > then it will be great full to me. With MS-SQL you'll probably want to look at T-SQL variables, although I don't know if they last longer than a single transaction. Failing that, functions or temporary tables might be a help. -- Richard Huxton Archonet Ltd