473,811 Members | 2,749 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multi-tier and Oracle

I currently have 2-tier Windows applications that connect directly to Oracle
to perform data operations. The connection method that I currently employ
is to store user names and passwords (encrypted of course) in an Oracle
table. A Windows application requests username and password information
from a user. The application then connects to Oracle using a "guest"
account that has no privileges other than the ability to query the password
table and checks the information that the user entered to authenticate.

What I need to do now is move to a 3-tier system and I am not sure how to do
the authentication to Oracle. It is obviously still possible for a Windows
application to request username and password information from a user, but
then how do I get that information passed through the middle-tier to Oracle
and back again to tell the Windows application that authentication was
successful or not. I realize that I could simply pass the username and
password to the middle-tier application and then have it authenticate with
that information, however, then the middle-tier application will know the
password for that user and I would prefer not to expose that kind of
information in the middle-tier.

I guess what I am looking for is an idea how to do the authentication in a
3-tier system with as little security risk as possible. I would appreciate
any information that anyone can provide that has done the 3-tier thing
already with success.

Thanks.
Nov 17 '05 #1
2 1857
Oh yeah, and I am using C# for both the Windows applications and the
middle-tier which would seem obvious from the forum in which I am posting
but I thought I had better mention it anyway.

"meyousikma nn" <me**********@n ospamyahoo.com> wrote in message
news:11******** *****@corp.supe rnews.com...
I currently have 2-tier Windows applications that connect directly to
Oracle to perform data operations. The connection method that I currently
employ is to store user names and passwords (encrypted of course) in an
Oracle table. A Windows application requests username and password
information from a user. The application then connects to Oracle using a
"guest" account that has no privileges other than the ability to query the
password table and checks the information that the user entered to
authenticate .

What I need to do now is move to a 3-tier system and I am not sure how to
do the authentication to Oracle. It is obviously still possible for a
Windows application to request username and password information from a
user, but then how do I get that information passed through the
middle-tier to Oracle and back again to tell the Windows application that
authentication was successful or not. I realize that I could simply pass
the username and password to the middle-tier application and then have it
authenticate with that information, however, then the middle-tier
application will know the password for that user and I would prefer not to
expose that kind of information in the middle-tier.

I guess what I am looking for is an idea how to do the authentication in a
3-tier system with as little security risk as possible. I would
appreciate any information that anyone can provide that has done the
3-tier thing already with success.

Thanks.

Nov 17 '05 #2
This best practice may help:

Building Secure ASP.NET Applications: Authentication, Authorization, and
Secure Communication
http://msdn.microsoft.com/practices/...cnetlpmsdn.asp

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"meyousikma nn" <me**********@n ospamyahoo.com> escribió en el mensaje
news:11******** *****@corp.supe rnews.com...
I currently have 2-tier Windows applications that connect directly to
Oracle to perform data operations. The connection method that I currently
employ is to store user names and passwords (encrypted of course) in an
Oracle table. A Windows application requests username and password
information from a user. The application then connects to Oracle using a
"guest" account that has no privileges other than the ability to query the
password table and checks the information that the user entered to
authenticate .

What I need to do now is move to a 3-tier system and I am not sure how to
do the authentication to Oracle. It is obviously still possible for a
Windows application to request username and password information from a
user, but then how do I get that information passed through the
middle-tier to Oracle and back again to tell the Windows application that
authentication was successful or not. I realize that I could simply pass
the username and password to the middle-tier application and then have it
authenticate with that information, however, then the middle-tier
application will know the password for that user and I would prefer not to
expose that kind of information in the middle-tier.

I guess what I am looking for is an idea how to do the authentication in a
3-tier system with as little security risk as possible. I would
appreciate any information that anyone can provide that has done the
3-tier thing already with success.

Thanks.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
3887
by: * ProteanThread * | last post by:
but depends upon the clique: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=954drf%24oca%241%40agate.berkeley.edu&rnum=2&prev=/groups%3Fq%3D%2522cross%2Bposting%2Bversus%2Bmulti%2Bposting%2522%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den ...
0
3792
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black and white CCITT4 compressed files (frames) inside the tiff. Every now and then I receive a mixture of black and white CCITT4 and JPEG compressed files, and sometimes just multi-page tiffs with JPEG only. The code runs great when dealing with the...
6
8188
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
5
5774
by: bobwansink | last post by:
Hi, I'm relatively new to programming and I would like to create a C++ multi user program. It's for a project for school. This means I will have to write a paper about the theory too. Does anyone know a good place to start looking for some theory on the subject of multi user applications? I know only bits and pieces, like about transactions, but a compendium of possible approches to multi user programming would be very appreciated!
0
624
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black and white CCITT4 compressed files (frames) inside the tiff. Every now and then I receive a mixture of black and white CCITT4 and JPEG compressed files, and sometimes just multi-page tiffs with JPEG only. The code runs great when dealing with the...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10398
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9204
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7669
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.