[Building Sakai] where do sakai reads local.properties
Steve Swinsburg
steve.swinsburg at gmail.com
Tue Jan 22 02:06:37 PST 2013
Hi
A better solution is to put your db properties in a file called security.properties, specify the path in the java opts and then lock down read access to that file. If you can decrypt it on the server, so could an intruder.
This was discussed a few weeks ago on list.
Cheers
Steve
Sent from my iPhone
On 22/01/2013, at 18:18, Bhanu Teja Motupalli <bhanu1607 at rediffmail.com> wrote:
>
> Hi Steve ,
>
> Thanks for the reply I suppose kernel is loading the local.properties file
> during tomcat start up
> Which class of kernel is loading it and how it is getting the properties
> like Database details from local.properties and connecting the DB
>
> The reason for this is I am encrypting the local.properties file as per
> client request, once i encrypt i need to call the decryption API at the
> place where this local.properties file is called and decrypt it and make it
> available for Properties to load in normal way.
>
> --
> View this message in context: http://old.nabble.com/where-do-sakai-reads-local.properties-on-tomcat-startup--tp34907861p34929346.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the sakai-dev
mailing list