I have a Java applet , which I want my end-users to run without any security popups . The applet requires file system access . I have two questions:-
.cer
file, through my applet, and install it in JRE_HOME\\lib\\security\\cacerts
, but, it requires admin privilege, at least on windows, so not an option for me.) Can anybody please guide me how it works?
Code Signing Certificates to exactly that - they sign the code.
So yes, you can publish and run that applet on multiple domains and all users - no matter which site they loaded that applet from - will be prompted with the same Certificate stating who wrote that app and be asked if they trust that and so on.
But you will not (never?) get around the security popups. Because File-System access is a severe security risk (at least for they guy in front of the browser hitting a site with your applet...)
Oh - ignored your first answer: Self-Signing is dead from a Java perspective.
Users will be better protected by maintaining up-to-date versions of the JRE on their systems, combined with requiring code that is signed by a Trusted Certificate Authority (rather than self-signed or unsigned code).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.