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


i have made apache , mysql based web application using java middle-ware (business logic). application ready deployed. application designed run on single user windows system apache , mysql business logic residing on same host.

what need ?

i need level of security when application (basically apache) starts or initializes, should check code or dat file values (for eg value hard-coded in file , value created 1 time using hardware id of system , specific keys eg. rsa/dsa public keys). how implement in apache, should create text or image , store in mysql db , let apache load @ startup or there other way it, need logic expire key @ end of 1 year implementation, hard-code system time during implementation , compare time teh system time during each initialize..i not aware of coding part sys admin profession, advice on me sit developers , finding out solution.