In this article, we will learn about Java Security Interview Questions. As a programming developer,should have knowledge how to provide security to their web applications when developing their respective software projects. So, Let us read some of the Security Interview Questions in java.
1) What is Security Manager?
Ans: It is used to restrict access to potentially dangerous operations. It provides a sandbox in which applet run. You can also define a set of sand boxes,applying a different sandbox to each program. Security Manager is a class that controls whether a specific operations are permitted. Security Manager will perform operations like opening Network Socket, creating Security Manager,then perform Network multi cast etc...
In other words, Security Manager supports Java's security system. A reference to the current security manager can be obtained by calling getSecurityManager()defined by the System class.
2) can you say Java is Security Programming Language?
Ans: In my opinion nothing is completely secure in our life. But using Java programming language specific security problem have been discovered and fixed. If you are using an up-to-date web browsers then you usually safe against known attacks. If you install a 'plug-in' in your java programming language you are trusting that plug-in to be harmless.
3) What is Basic Authentication?
Ans: Authentication is a Basic Security model, in this the client must authenticate itself with user ID and password for each resource to access. In this the user ID and password are sent by the client in base-64 encoded string,the server decoded the string and looks in the data base for match. If its find a match grant access to the requested resource.
4) What is Digest Authentication?
Ans: In this case User Id and password does not send across the network instead send a digest representation of password.
5) How to generate and check digital signature in java?
Ans: JDK tools generate digital signature for JAR files,and verify the authenticity such signatures and integrity of the signed contents;and create and modify the policy files that define your installation's security policy.
6) How built-in java security features protect you from malevolent programs(including virus)?
Ans: Built-in security functionality protects you from malevolent programs including virus,maintains the privacy of your files and information about you,and authenticates the identity of each code provider.
7) How to use cryptography and security checks?
Ans: You can use API methods to incorporate security functionality into your programs,including cryptography and security checks. The API Framework enables you to define and integrate your own permissions(controlling access to specific resources),cryptography services implementations,security manager implementations,and policy implementations.
1) What is Security Manager?
Ans: It is used to restrict access to potentially dangerous operations. It provides a sandbox in which applet run. You can also define a set of sand boxes,applying a different sandbox to each program. Security Manager is a class that controls whether a specific operations are permitted. Security Manager will perform operations like opening Network Socket, creating Security Manager,then perform Network multi cast etc...
In other words, Security Manager supports Java's security system. A reference to the current security manager can be obtained by calling getSecurityManager()defined by the System class.
2) can you say Java is Security Programming Language?
Ans: In my opinion nothing is completely secure in our life. But using Java programming language specific security problem have been discovered and fixed. If you are using an up-to-date web browsers then you usually safe against known attacks. If you install a 'plug-in' in your java programming language you are trusting that plug-in to be harmless.
3) What is Basic Authentication?
Ans: Authentication is a Basic Security model, in this the client must authenticate itself with user ID and password for each resource to access. In this the user ID and password are sent by the client in base-64 encoded string,the server decoded the string and looks in the data base for match. If its find a match grant access to the requested resource.
4) What is Digest Authentication?
Ans: In this case User Id and password does not send across the network instead send a digest representation of password.
5) How to generate and check digital signature in java?
Ans: JDK tools generate digital signature for JAR files,and verify the authenticity such signatures and integrity of the signed contents;and create and modify the policy files that define your installation's security policy.
6) How built-in java security features protect you from malevolent programs(including virus)?
Ans: Built-in security functionality protects you from malevolent programs including virus,maintains the privacy of your files and information about you,and authenticates the identity of each code provider.
7) How to use cryptography and security checks?
Ans: You can use API methods to incorporate security functionality into your programs,including cryptography and security checks. The API Framework enables you to define and integrate your own permissions(controlling access to specific resources),cryptography services implementations,security manager implementations,and policy implementations.
No comments:
Post a Comment