Posts

Showing posts with the label Authentication

Save Username and Password of Git Credentials in Storage

Linux To prevent the git password prompt in each git pull request can be prevented by storing the password in the local disk. To keep the credentials on disk. git config credential.helper store To enable credentials storage globally, run: git config --global credential.helper store When credentials storage is enabled, the first time you pull or push from the remote Git repository, you will be asked for a username and password, and they will be saved in ~/.git-credentials file.

Authenticate IIS Web Application Using Application Pool Identity with MSSQL Server

Image
A web application can be connected with MS SQL with application pool identity. While Creating a new web site in IIS, Application pool identity will be the default credential for database connection if the application used windows authentication. These steps enable the application pool to authenticate with MS SQL for all database connections. Screen shots are from a Windows server 2016 Standard with SQL Server Express 14.0. Step 1.  Creating new application pool with desired name. Step 2. Create a website and select the application for the site. Step 3. Connect Sql Server with sql server management studio. Create a new database. Step 4.  Add new sql server user with Application pool name as user name for authentication. The mode of authentication should be Windows Authentication. Select the default database for the user. Step 5. Assign privileges to new user for the database. Step 5. Configure web.conf with windows authentication. Example: <add...