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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

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