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

heimdal kerberos in openldap issue

I think I posted this on the wrong 'sister site', so here it is. I'm having a bit of trouble getting Kerberos (Heimdal version) to work nicely with OpenLDAP. The kerberos database is being stored in LDAP itself. The KDC uses SASL EXTERNAL…
Brian
  • 41
  • 3
1
vote
2 answers

How do you configure /etc/pam.d/system-auth-ac on CentOS 6 using authconfig?

I'm trying to replace the cracklib module with passwdqc. Every time I do an authconfig --update (or --updateall), the changes I make on the system-auth-ac file goes away. The authconfig command line or system-config-authentication don't have any…
Hermes Conrad
  • 63
  • 1
  • 1
  • 4
1
vote
1 answer

LameUser trying - apache2 webserver authentication - IP range to access without pass prompt others with it

I have (maybe silly) question regarding the apache2 webserver and security - I am trying to archieve this: Users connecting from 192.168.1.24 not to be prompted for password and allowed Others asked for username and password if correct then connect.…
Mikee
  • 11
  • 2
1
vote
3 answers

Internet Explorer 8 causing login prompt connecting to Sharepoint 2007 (from separate workstation)

We are using integrated windows authentication (I think NTLM). All other clients seem to be working fine, IE6 or IE7. The intranet site is in the trusted sites zone in IE. First user to test said IE8 originally worked, but a patch may have broken…
atom255
  • 213
  • 1
  • 3
  • 9
1
vote
1 answer

Reject Nginx request with no authentication in general

Is it possible to reject all nginx request, which don't send basic authentication data with them? I have requests like this: xxx.xxx.xxx.xxx - - [24/Oct/2012:10:32:12 +0200] "POST /path HTTP/1.1" 401 1387 "-" "Apache-HttpClient/4.1.1 (java 1.5)"…
disco crazy
  • 277
  • 6
  • 14
1
vote
0 answers

Squid caching proxy authentication digest to basic. Is it possible?

I need to setup a proxy server connecting to another one with digest auth. I would like that my server takes the credentials from the user using basic scheme and then sending them to the upstream server using digest scheme. It's kinda a "security…
ipersite
  • 111
  • 2
1
vote
1 answer

Using Apache HTTP user in Tomcat?

I need users to authenticate in Apache HTTP for some static resources (using mod_auth_openid. I also have a Tomcat application running. How can I accept the HTTP user as the Tomcat user, so the users don't need to login twice? Clarification: I don't…
stwissel
  • 680
  • 2
  • 8
  • 22
1
vote
1 answer

Postfix MySql Dovecot - SMTP Authentication Failure

Hello I have a Postfix setup with Dovecot and MySql. The server is running Debian Squeeze. The MySql server is a slave that has data pushed to it from a primary (postfix) mail server(running a different os). The emails are stored on a replicated…
borncamp
  • 111
  • 2
1
vote
1 answer

SMTP Relay via MS Exchange

I am trying to pragmatically send e-mail to external user with Exchange. Now I know if Relay is not Enabled in Exchange Server then e-mail relay will not work. Now, if I send e-mail from my Outlook I can send e-mails to, say, hotmail. But when I am…
Amirul Islam
1
vote
0 answers

stunnel Haproxy ldap authentication

in our setup port 433 is handled by stunnel. After that haproxy will dispatches the request to the appropriate backend. I have managed to enable authentication in haproxy. But the users and passwords are sitting in the haproxy.conf file. Is there a…
1
vote
2 answers

Has anyone figured out how to use same username with different passwords (Windows)

Tried Googling, tried net use, and anything I could, with no results. I have a PC with users, and I have a network server with shared folders. For some users the usernames of the share and local account match, but the passwords are different (a good…
Coder
  • 367
  • 1
  • 2
  • 9
1
vote
2 answers

Very strange AD authentication issue

I have a domain controller that is Server 2008 and another that is 2008R2. I changed my password two weeks ago, and have been able to log into the domain controllers no problem. When I want to access any other server in the domain (the entire…
birry
  • 11
  • 1
1
vote
3 answers

Rip authentication from LDAP to local

We are taking a small portion of our network offline, and running a separate network using that portion. (By small portion I mean 2 servers, that will be connected to 30 odd boxes that aren't usually part of our network, and don't need to…
1
vote
1 answer

Enable basic authentication in IIS for remote requests, but not for local ones?

Is there a way in IIS to enable basic authentication for remote requests while leaving the website open for local requests? I need external users to authenticate to access a site, but users on the local machine should not have to.
1
vote
2 answers

Difference between accessing a website using Local host and IP address

I have developed an ASP.NET website and deployed into my IIS server. Now to see that my IIS is installed fine, I type local host in my address bar, and I get the welcome screen of IIS and its documentation in a separate window. Now I gave the url…
Shiridish
  • 233
  • 3
  • 9