Efficiency of Using Financial Resources and Their Impact on Security in a Local Context