Questions tagged [authentication]

A process of proving that an entity (commonly a user or organization) is who they claim to be, or who they were previously identified as being. Authentication does not guarantee that particular entity's identity absolutely, it just proves that they are the same agent that has previously successfully asserted their identity. There are three factors (types) of authentication, and a particular authentication process may combine two or more different factors.

Authentication is critical to systems security. It is the mechanism an authoritative system uses to validate a given entity's asserted identity (who they claim to be) is the same as that entity's stored credentials. Credentials must be previously stored for an entity either by the authoritative system, or by another trusted system, before authentication can occur.

Authentication is commonly used in real life in a number of different scenarios, for example a national border agent confirming a person's identity using a passport.

Authentication usually requires the entity being authenticated to produce one or more tokens. These tokens are then used, possibly alongside other properties or characteristics of the entity, to confirm their identity. An example of an authentication token is a password. These tokens can fall into three broad categories, or factors:

  • Something you know. This is the most commonly used authentication factor in electronic systems. It is most commonly implemented as a password or PIN (personal identification number). This is also the most commonly misused authentication factor. Many system require a secondary security question, such as your mother's maiden name, place you were born in or other such trivia. These all belong to this single factor, thus systems can as as many questions as they like and they are still single factor authentication; all the answers are something the entity would know.
  • Something you have. This is most commonly implemented as a formula number generator (like an RSA Key Fob) or a digital certificate (which can be stored on a smart card or less securely as a simple file on a computer). The Key Fobs, Smart Cards, and SSL Certificates are the most commonly used forms of this factor.
  • Something you are. This is commonly known as biometric security. Fingerprints and iris scans are the most common form when used with electronic access systems. Fingerprints and DNA are the most commonly used in law enforcement.

It should be noted that some security experts have reservations about the factor categories. Specifically all authentication factors are fed into the authentication mechanism as computerized information and are therefore subject to the same possible tampering or forgery as any other information. Digital Certificates for example are essentially passwords that are so long a normal person would never memorize it; it must be stored on a medium (thus termed "something you have"). Similarly anyone who has seen a spy movie has undoubtedly seen a fictional character copy a fingerprint or fake an iris scan. This is possible because the authentication mechanism is reliant on a digital reproduction of the physical item; a digital representation that can be duplicated.

There are many indirect authentication schemes as well. Kerberos is one of the most popular, you authenticate against a central store, which then gives you a token. The token can then be used to grant you access to other systems in lieu of the original authentication mechanism.

Authentication should not be confused with Authorization, which involves granting rights to a specific entity. Authorization schemes are commonly dependent on Authentication to ensure security, but are not the same.

See Wikipedia for more information about Authentication and Security.

2218 questions
0
votes
2 answers

Authentication Failure using mod_authnz_ldap with Active Directory

I've set up a Nagios Core server on CentOS and I want people to be able to use their AD credentials to log into the web interface. At the moment, the httpd configuration is: AuthBasicProvider ldap AuthType Basic AuthName "Active…
0
votes
1 answer

Freeradius 3.0.12 doesn't send any data through mysql

After upgrading from v 2.x, freeradius stopped working for me. I have done multiple tshooting steps which led me to believe that the application is not sending any data through MySQL, even though it states to do so. So what I've discovered is that…
naven
  • 1
  • 1
  • 2
0
votes
1 answer

Limit user connection to only 1 NIC

On my network, I have a SERVER with 3 NICs, each on a separate subnet A, B, and C. I also have a user, JOE who uses SSH to login to SERVER The issue is, JOE can log in on any of the interfaces: $ ssh joe@server-a ] Welcome to SERVER exit $ ssh…
Scottie H
  • 227
  • 2
  • 10
0
votes
1 answer

Configuring SSH for each user under a given Host

Say I have multiple service users on a server (example.com). For foo@example.com I use SSH with a publickey For bar@example.com I use SSH with a password I access both users regularly from my local machine. Is there a way to configure the…
user2490003
  • 147
  • 5
0
votes
1 answer

Exchange IMAP4 authentication failed

All of the sudden IMAP4 authentication started to fail for my e-mail account. It was working just fine for years, and yesterday I started getting authentication errors. Our organization runs Exchange 2010 hosted on Windows Server 2008 R2. What's…
0
votes
1 answer

Unable to get Client Certificate Chain from apache

I'm trying to get the client certificate chain and root from apache to my Java backend. This is the relevant part of my apache config: SSLOptions +StdEnvVars +ExportCertData RequestHeader set "SSL_CLIENT_CERT" "%{SSL_CLIENT_CERT}e" …
0
votes
1 answer

Admin authentication on a Windows XP machine on a network

This is something I'm curious about. There is a LAN consisting of Windows XP machines. There is an administrator account say admin-xyz which can be used to login to any of the machines on the network. But, when I run pwdump to get the password…
Joe
0
votes
2 answers

WSS - Multiple password prompts

I'm using WSS 3.0 SP1 with IIS 6.0 on integrated authentication. However when access Sharepoint this is what happens. You are prompted for a password when you first access the site (via IE8), and then everytime you attempt to open a document you are…
Aaron Bush
  • 237
  • 1
  • 2
  • 10
0
votes
1 answer

Automated windows restart testing

I am developing a program, which depends on basically all other programs in our company. As there are so many programs that could potentially change and I never get notified of the changes, I would like make a test environment, where various windows…
David
  • 447
  • 1
  • 5
  • 11
0
votes
0 answers

Nginx authentication subrequest does not process HTTP 304

I am using the nginx http_auth_request_module for sending an authentication subrequest to another server (apache 2.4). The authentication mechanism works perfectly, however the module seems to only process HTTP 200 and 401 answers correctly. If i…
dev_user
  • 11
  • 4
0
votes
1 answer

How to fix unable to connect to ldapserver - Authentication Finally Failed

I'm using openldap on opendistro for elasticsearch with docker I get this error: elasticsearch | [2019-07-31T12:48:42,590][WARN ][c.a.o.s.a.BackendRegistry] [28da1860f0c0] Authentication finally failed for cn=admin,dc=example,dc=com from…
0
votes
1 answer

Passwordless authentication to Samba server

I have a Samba server in an openwrt router and shares configured usng smbpasswd with no guest access. I have two Windows 10 pro computers both in the same workgroup as configured in Samba. Computer 1 can immediately access the Samba shares with an…
dcam
  • 11
  • 1
0
votes
0 answers

Failed to make https request with self signed certificate authentication

In order to make clients authentication with a self signed certificate, I went through the following steps: openssl genrsa -out ca.key 4096 openssl req -new -x509 -days 3650 -nodes -key ca.key -out ca.crt Create the Server Key, CSR, and…
0
votes
1 answer

System_auth keyspace overwritten in Cassandra cluster

I was adding a Node2 to another cassandra Node1 to form a cluster and I lost my user database (which caused authentication problems). I appreciate if someone can help me to understand what happened (to avoid that from happening again the next time I…
wmac
  • 111
  • 4
0
votes
1 answer

kpasswd not listening on port 464

I recently made a fresh install of FreeIPA (VERSION: 4.6.90.pre1+git20180411, API_VERSION: 2.229) on Ubuntu 18.04 LTS. Admin credentials work fine, I can log in to the web app just fine, creating users and authentication from client webapps works.…
JBKM
  • 1
  • 1