Article View: borland.public.cppbuilder.database.multi-tier
Article #353Multi-tier Security
From: Andrew Morgan
Date: Tue, 20 Nov 2001 10:18
Date: Tue, 20 Nov 2001 10:18
36 lines
1948 bytes
1948 bytes
Hi
I hope someone can help me with security issues in a multi-tier app:
Server
------
TTable's
TDatabase
Login prompt = true
Params = NULL
Client
------
TClientDataSet's
TSocketConnection
Setting the connection = true causes the application server to prompt
for a password (locally)! Since the client never sees the app server,
and indeed, no one manages instances of the remote data module, who
supplies the password?
As the documentation says, security would be breached by including the
password in the app server. It also says that one may want to use
different security available in MTS, but this is not a transactional
data module. Furthermore, the socket connection is not authenticated.
The IAppServer interface appears to have no members to change login
details unless it must be manually extended. Since my application uses
role based security, I must also supply the role in the connection as
well. For this reason, the application needs to know who the users are,
and they must be valid users on the RDBMS.
Any guidelines would be greatly appreciated.
TIA
Rookie
Technical Details
Message-ID:
<3BFA2DEA.1DCC4C22@worldonline.co.za>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,143e3530d214db93,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-11-20 02:15:41 PST Message-ID: <3BFA2DEA.1DCC4C22@worldonline.co.za> Date: Tue, 20 Nov 2001 12:18:18 +0200 From: Andrew Morgan <amorgan@worldonline.co.za> X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Multi-tier Security Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 155.239.84.118 X-Trace: dnews 1006251286 155.239.84.118 (20 Nov 2001 02:14:46 -0800) Lines: 37 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews