A unified approach for multilevel database security based on inference engines