java - Security impact of access modifiers (public, private, internal, protected) -
do access modifiers of classes, properties or methods in c#, java , other programming languages have impact on security of application? protect against unauthorized access in way? or tool clear , propper programming?
no, access modifiers don't offer security protection. merely there developer convenience, e.g. enforce coding practices , programming patterns.
it's easy access otherwise inaccessible modifiers using reflection in java/c# , other languages.
Comments
Post a Comment