Powershell: md5sum and sha256sum Functions

Hi,

verifing of a file is often done by builting an MD5 or an sha256 hash over it.

Powershell has no “builtin” functions for this purposes.

So I wrote some 🙂
Continue reading Powershell: md5sum and sha256sum Functions

Advertisment to support michlstechblog.info

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

Windows: Resolve Policy Registry Keys to Group Policy Editor Entries (and vice versa)

Hi,

in Windows, local group policies could applied through the Group Policy Editor or simply by setting the Registry Keys under HKEY_LOCAL_MACHINE\Software\Policies, HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies and its equivalent in HKEY_CURRENT_USER.

Unfortunataly when just set the Registry Keys this isn’t shown in the GPO Editor and it’s hard to find the equivalent section and setting there.
Continue reading Windows: Resolve Policy Registry Keys to Group Policy Editor Entries (and vice versa)

Windows 10: Trigger detecting updates from command line

Hi,

since Windows 10 the command wuauclt /detectnow does not work anymore.
Continue reading Windows 10: Trigger detecting updates from command line

My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…