Security mechanism during Apache startup - discussion on various solutions that could be considered

I have made a apache and mysql based web application using java as a middle-ware (business logic). The application is all ready to be deployed. this application is designed to be run on a single user windows system with apache and mysql with the business logic residing on the same host.

What I need ?

I need a level of security like when the application (basically apache) starts up or initializes, it should check for a code or a dat file with some values (for eg a value would be hard-coded in to this file and this value is created one time using some hardware id of the system and some specific keys for eg. RSA/DSA public keys). How do I implement this in Apache, Should I create this text or image and store it in my MySQL DB and let apache load it at startup or is there any other way to do it, I would also need a logic which will expire this key at the end of 1 year from the implementation, basically hard-code the system time during implementation and compare this time with teh system time during each initialize..I am not very much aware of the coding part as I am a sys admin by profession, but any advice on this will help me sit with my developers and finding out a solution. Thanks


Need Your Help

Reset action bar after using SearchView

android android-actionbar searchview

I'm using SearchView widget to enable searching in my app. After the initial click on the search icon, the SearchView widget expands into the search field and the "back" arrow is shown next to the

What is the best compression using php in terms of speed

php html

I want to use compression so that i can speedup my website.Which is the best compression available? Is compression using ob_start("ob_gzhandler"); the best? Does it compress the images embedded.Is ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.