[22] Results

Golang : How to login and logout with JWT example

golangbcrypt-password-authentication session loginlogout

I am now in the process of building a web application to help myself in managing my tenants in a….... read more

Golang : Login and logout a user after password verification and redirect example

golang bcrypt-password-authentication session gorilla-webtoolkit redirect-page

Writing this tutorial for my own future reference. User name and password authentication is a fairly common task for any….... read more

Golang : Bcrypting password

golang password salt bcrypt

From my past tutorial on salting password, a reader pointed out that there is a better way to….... read more

Golang : Verify Linux user password again before executing a program example

golang password authentication pamexec

One of my previous tutorial shows you how to restrict a program execution to root only and this can….... read more

Golang : Get login name from environment and prompt for password

golang password os-get-environment two-factor script-authentication


You want to write a Golang script(short program for administrating server, etc) that grab the current user's login name,….... read more

Golang : Basic authentication with .htpasswd file

golang authentication htpasswd

If you are looking to protect a web page with Basic Authentication. It can be done easily with Golang. In….... read more

Restart Apache or Nginx web server without password prompt

password apache nginx

After installing SSL certificates on my Nginx server, I've started to experience some minor "annoyance" of being prompted for Enter PEM pass phrase: each time….... read more

Generate salted password with OpenSSL example

openssl password md5 salt

Problem :

You need to generate a salted MD5 password string for new users registration. For example, you are IT….... read more