-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Folks,

Hope this is the right place for this question. 

I am using servlets / JDBC. It has been suggested that the best thing to do
with the DB password is to stick it into an "Environment variable" on the
web server and get it via a "getProperty()" call from within the servlet.
(This is opposed to having it "hard coded" into a class file which is what
I currently do). 

Does anybody have any comments on the relative security of both methods? Or
is there a better way which I have not heard about?

Cheers

Adam

-- 

      ***********************************************************
      *** PLEASE NOTE NEW EMAIL ADDRESS: [EMAIL PROTECTED] ***
      ***********************************************************
      Dr AC Marshall, Centre for Careers and Academic Practice,
      c/o Connect: The Internet Centre for Merseyside Businesses.
      The Foresight Centre, The University of Liverpool. L69 3GL.
      Fax: +44 51 794 8270            Phone: available by request

      Cheese of the Fortnight: Chaource Hugerot (yummy)


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to