The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Connection to database through shell script ravi214u Shell Programming and Scripting 1 01-08-2009 05:44 PM
database connection (unresolved sqlcxt) gfhgfnhhn UNIX for Advanced & Expert Users 3 09-20-2008 09:44 AM
database connection failing from linux DILEEP410 UNIX for Dummies Questions & Answers 1 10-05-2007 10:07 AM
database connection ramneek High Level Programming 0 10-18-2005 07:14 AM
Database connection whartoner High Level Programming 2 01-15-2002 12:38 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-12-2009
neeto neeto is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 28
Hiding database connection strings from xml file

Hi ,
I have a configuration file with the following structure:
<CONFIG>
<DEFAULTS operator="oraread">
<PROPERTY name="hostname" value="myhostname"/>
<PROPERTY name="port" value="12343"/>
<PROPERTY name="dbname" value="dbname"/>
<PROPERTY name="connectstring" value="connectstring"/>
</DEFAULTS>
</CONFIG>

I read these parameters and pass hing to unix script that opens a sql connection based on the supplied parameters.
Now problem is that any user can read this file.
Is there a better way to hide these configuration parameters so that they can be acessed by specific programs(like setting them on the .profile)?
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0