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
0 answers

IIS 6.1 - Authentication works but NOT only with certain IP Adress (NAT ? )

I'm using an IIS Server and run into the following problem since ~5days without any new changes on all infra: Some clients didn't arrived to pass the step after authentification (login pass =>ok) : error on aspx page, header & footer are ok, but…
Igor
  • 1
  • 1
0
votes
1 answer

Issues with uid when using PAM and local /etc/passwd

We currently have some local users with the uid 5001-5010 and some users with the range 1001-1010. The issue we are seeing is when a user in the 5000 range tries to authenticate it would appear it keeps trying to use the same uid=1001 regardless of…
0
votes
1 answer

Can I make cisco router to act like a radius server?

I need to configure local radius authentication on my cisco router. I have web application in which we have implemented dual factor authentication it works fine with other radius server like freeRadius. I managed to send Access-Request to the cisco…
ananetworking
  • 33
  • 1
  • 6
0
votes
1 answer

Dovecot fails to authenticate for some users

I've the typical Dovecot + Postfix setup, with Apache and Roundcube (in a VPS). Yesterday I set up everything, and it went smooth. Right, but today I woke up with the surprise that some users simply can't login. Clients give a message like this…
Megver83
  • 221
  • 2
  • 4
  • 10
0
votes
0 answers

Is G Suite as a SAML IdP a replacement for Okta?

G Suite supports acting as the identity provider to SAML-compatible service providers, in the same way as Okta does. However, you pay a premium for Okta whereas Google SAML is included in the G Suite bundle. When logging into SAML-authenticated…
0
votes
1 answer

Postfix authentication using MySQL SHA512

In our postfix setup, we are using the pam_mysql module to authenticate the user from the MySQL database. ( similar to this link) Which is perfectly working fine. We are using SHA512_CRYPT() for storing password using ENCRYPT() MySQL…
seena e
  • 1
  • 3
0
votes
1 answer

How to use htaccess to restrict access to script when rewriting?

I have a php script that relies on the following rewrite rules: RewriteEngine on RewriteCond %{REQUEST_URI} !^/script.*$ [NC] RewriteRule (.*)$ script.php/go [QSA,L] So when someone visits http://example.com/foo, the script is called…
0
votes
1 answer

Problems SSH authentication in AWS

I'm running docker Yang Development Kit for python ydk-py in my remote Ubuntu server. I would like to establish a connection using with the remote server and my AWS EC2 instance that runs CSR 1000v (SSH authentication) Before hand, I used to access…
Khalil Mebarkia
  • 139
  • 1
  • 1
  • 13
0
votes
1 answer

(Open) LDAP authentication - superuser not available on client

I'm still arguing with LDAP authentication. Now I have a server running openldap in centos, some account and a client that can use that directory to log on. The issue I have is that I'm no longer able to login as superuser on ldap client: typing su…
DDS
  • 145
  • 8
0
votes
1 answer

(Open) LDAP - Authentication not working

I installed OpenLDAP on a CentOS7 machine, I can log on locally on the server, so user exists (in passwd). I also run the following LDAP command: #ldapsearch -h localhost -x cn=ldapuser01 -b "dc=example,dc=com" and I get a result: # extended…
DDS
  • 145
  • 8
0
votes
1 answer

Using Azure Conditional Access to control downloading from SharePoint/OneDrive

I'm trying to use Azure Conditional Access to control downloading from SharePoint/OneDrive, but i'm completely new to this. I wish to be able to use OneDrive (the business app) AND to download/sync files from OneDrive online / Sharepoint via a…
0
votes
1 answer

Postfix relay authentication for both server and client

I built a postfix relay several years ago that relays through office365. This is limited to hosts on the VPN, but now want to provide a public IP and allow remote printers to relay through postfix for send to email. My issue is a lack of…
TurboAAA
  • 21
  • 4
0
votes
1 answer

Postfix / Thunderbird / Cyrus SASL2: Username Or Password Invalid

I'm quite certain that I've entered my password correctly; that Thunderbird regards it as incorrect is I expect due to a Postfix or Cyrus SASL misconfiguration. I am perpetually confused about eMail server configuration. That I want to host my own…
0
votes
2 answers

Disabled users are not succeeding authentication via ADFS + Multi-Factor Server

We are using the on-premise version of Azure Multifactor authentication. When I authenticate through ADFS it's forcing every user to use MFA even though I have disabled users to succeed authentication. It gives me an error that the authentication…
0
votes
1 answer

How does ssh logins with Kerberos authentication exactly work from every client while Kerberos uses mutual authentication model?

I have my system authentication managed with SSSD which uses Kerberos. As kerberos support mutual authentication model i.e., both client and server should support Kerberos, how exactly does SSH to the server work from any client like putty or…
GP92
  • 681
  • 2
  • 9
  • 27
1 2 3
99
100