I don't think there will be any security problem as object-oriented programming was introduced because it was a lot secure. I had this question a while back myself and I searched on the internet...