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

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -