<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Encrypted password for databases in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255822#M208952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't encrypt the alfresco-global.properties file.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first line of defence is to ensure that only a limited number of people can read the alfresco config files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And DBAs will typically also restrict which machines can use the alfresco oracle account.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If its important to you then you will need to store the credentials or the resource definition elsewhere e.g. as a resource in your app server.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can probably also plug in some code to pull the oracle key from a keystore.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.g &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/4196545/hide-datasource-password-in-spring-xml-file" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/4196545/hide-datasource-password-in-spring-xml-file&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So,&amp;nbsp; there are many options,&amp;nbsp; but its not usually neccessary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2012 09:44:28 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2012-09-04T09:44:28Z</dc:date>
    <item>
      <title>Encrypted password for databases</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255821#M208951</link>
      <description>I configured alfresco to use Oracle&amp;nbsp; (http://wiki.alfresco.com/wiki/Database_Configuration#Oracle_example)I was wondering, how can I encrypt this password (db.password) in alfresco-global.properties file.? Regards</description>
      <pubDate>Tue, 04 Sep 2012 04:54:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255821#M208951</guid>
      <dc:creator>mrsaqib</dc:creator>
      <dc:date>2012-09-04T04:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted password for databases</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255822#M208952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't encrypt the alfresco-global.properties file.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first line of defence is to ensure that only a limited number of people can read the alfresco config files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And DBAs will typically also restrict which machines can use the alfresco oracle account.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If its important to you then you will need to store the credentials or the resource definition elsewhere e.g. as a resource in your app server.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can probably also plug in some code to pull the oracle key from a keystore.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.g &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/4196545/hide-datasource-password-in-spring-xml-file" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/4196545/hide-datasource-password-in-spring-xml-file&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So,&amp;nbsp; there are many options,&amp;nbsp; but its not usually neccessary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 09:44:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255822#M208952</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-09-04T09:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted password for databases</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255823#M208953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks mrogers for the prompt reply. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know we can't encrypt the whole alfresco-global.properties file, my concern is only with the "password" property. For the client I am working with, has a strict policy, so I can't store any password as a plain text. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I encrypt the password in the alfresco-global.properties file and through some code decrypt it so that alfresco can use it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:03:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255823#M208953</guid>
      <dc:creator>mrsaqib</dc:creator>
      <dc:date>2012-09-04T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted password for databases</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255824#M208954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes.&amp;nbsp;&amp;nbsp; Or you can use spring instead and inject your own password handling stuff, That's what the linked example above does.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However at that point your values will not be persisted across a cluster.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:13:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255824#M208954</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-09-04T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted password for databases</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255825#M208955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to modify org.alfresco.config.JndiPropertiesFactoryBean file, but exceptions are like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Name lucene.indexer.writerMergeFactor is not bound in this Context.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Suggestion..?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 13:11:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/encrypted-password-for-databases/m-p/255825#M208955</guid>
      <dc:creator>mrsaqib</dc:creator>
      <dc:date>2012-09-05T13:11:02Z</dc:date>
    </item>
  </channel>
</rss>

