Define secure I guess. Yes it stops OS users other than the owner/users within the group from accessing it, but have you thought about what happens if the hacker gets in via the owner? aka the apache/php user?
To answer your question, yes it is secure on the OS.