473,473 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Clear text passwords and Oracle - arrrrrrgh - please help!

Hi,

I am working on a mobile application that consists of a number of handheld
scanners, an Xml Web service and an Oracle 9i database in a highly secure
environment. The .Net Compact Framework application running on the scanners
executes Web service methods, which in turn execute Oracle database
functions. The Web service and the Oracle database are running on separate
servers. The Web service uses the Microsoft OLE DB driver for Oracle.

The Web.config file contains a connection string in the <Appsettings>
section that includes the Oracle username and password. The application
simply reads this connection string and uses it internally to create a
connection object. The idea is that we can't afford to expose these
credentials in the connection string, because the firewall is reporting a
security violation when the application runs.

I am wondering what the best alternative is, if any. Preventing the username
and password travelling down the wire from the Web server to the Oracle
server is the main requirement, and preferably the DBA will have the option
of changing the Oracle account details (ie a different username and
password) at any time, therefore it would be preferable not to have the
ASP.Net worker process (ASPNET) as the Oracle user. I'm assuming that this
means that they want SQL Authentication and it therefore rules out Windows
Authentication. Please let me know if I *can* still use Windows
Authentication under these circumstances.

I have played with the idea of using Impersonation but I understand that it
cannot be used if the Oracle server is on a separate box to the Web server
and also that connection pooling will be affected, which we can't afford.

Can anyone please let me know if I can use either Windows Authentication or
a Trusted Connection to provide a solution in these circumstances, or
anything else!

If I can use Windows Authentication with a Web.config entry <authentication
mode="Windows" >, how can I allow the DBA to change the username/password,
if indeed I can have a user other than ASPNET, without having a major impact
on the system?

If I can use a Trusted connection with a connection string something like
"Data Source=MyOracleDB;Integrated Security=yes;" where do I specify the
Oracle username/password?

Preferably there will be no need for a code change if the DBA decides to
change the Oracle username.

Are there any alternatives, such as encryption, programmatic security or
other forms of authentication?

Please help, I am getting desperate! Many thanks.

DJ
Nov 19 '05 #1
0 1682

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

Similar topics

6
by: cppdev | last post by:
Hi All! I want to clear the string contents from sensitive information such as passwords, and etc. It's always a case that password will appear as string at some point or another. And i feel...
4
by: ecPunk | last post by:
Hi, We have a web application where we want a user to be able to change his/her password if the password has expired but we are unable to do this with ASP (at the moment) because we can't log...
1
by: rishka | last post by:
Rishka Mar 17, 5:40 am show options Newsgroups: comp.databases.oracle.tools From: "Rishka" <ris...@webmail.co.za> - Find messages by this author Date: 17 Mar 2005 05:40:45 -0800 Local:...
0
by: John Hall | last post by:
We are using Visual Web Developer 2005 Express and the ASP.NET administration tool to create users. After we implemented <asp:passwordrecovery ... /> new passwords are emailed to the user instead...
2
by: JMG | last post by:
Hi All, I have no idea if this is the correct place to post this question, but I'm hoping so :). My problem is that I have a text file containing 5 sets of passwords on a single line space...
4
by: ldpfrog | last post by:
This is my first tutorial, so if there are any mistakes please forgive me =). This will show you a very simple way to read your Login information from an outside text file. What you need: 1....
1
by: postmanpat | last post by:
i have to create a login form that validates the users and passwords from a text file. I have another function that can add new users and passwords by writing to a test file split by a delimiter. But...
2
by: Ruslan A Dautkhanov | last post by:
Hello ! I'm about to install O9i on FreeBSD box. uname -a: FreeBSD stat2.scn.ru 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #2: Fri Apr 23 19:19:43 KRAST 2004...
3
by: John | last post by:
Hi. I have a number of batch jobs that are ran nightly on our Windows 2000 based Oracle 8.1.7 (soon to be 9i) server. I have these designed just right, so the Windows Scheduled Tasks runs them...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
1
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...
0
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...
0
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...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.