Apache: Protect a folder by a password, but one file is for public access

Hi,

let us assume you want to protect a whole directory by password and but one file must be readable for public access. This can easily be done by a .htaccess file.

For example: Who want to trotect the folder /var/www/html and only the file public.html should be readable without a password.
Continue reading Apache: Protect a folder by a password, but one file is for public access

Java: Error AccessControlException => java.net.SocketPermission” “192.168.100.10:8888” “connect,resolve

Hi,

you want to launch a Java Applet and you get an error like this AccessControlException => java.net.SocketPermission” “192.168.100.10:8888” “connect,resolve.

This error typically occurs when you start an applet and this applet want to open a socket connection to an different IP Address or TCP Port as the applet came from. Since Java 8 such action would blocked.

Continue reading Java: Error AccessControlException => java.net.SocketPermission” “192.168.100.10:8888” “connect,resolve