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

IIS ASP.Net windows authentication doesn't work

I have an intranet web application. Even though I've set "Windows Authentication = Enabled" (and all other Authentications are disabled), when the application tries to access resources, it is treated as though it is run by the same user that runs…
Yehuda Shapira
  • 113
  • 1
  • 5
1
vote
1 answer

IIS FTP Server on Windows 2008 R2 Standard - Can only logon using administrator user/pass?

I've setup a FTP server in IIS 7.5 on Windows Server 2008 R2 Standard and enabled Basic Authentication. I have a basic user ("Ropstah") on the server which is in the Users and Some Custom groups. I've allowed the Some Custom group read/write access…
Ropstah
  • 205
  • 5
  • 11
1
vote
2 answers

How to disable username and password request when accessing the shared folders on Windows Server 2008 R2 for Windows home edition user?

I have a PC with Windows Home edition and a machine running Windows Server 2008 R2 in a domain. Anytime I connect to its shared folders I get prompted for a username and password. How can I set a policy in Active Directory for that server not to ask…
1
vote
0 answers

Apache SSL x509 authentication timeout

I have setup a location to enable client authentication based on x509 certificates: SSLRequireSSL SSLVerifyClient require SSLVerifyDepth 10 The authentication is done by unlocking the smartcard with a PIN.…
rthill
  • 31
  • 4
1
vote
1 answer

How can I tell how many users are loggin in via apache authentication?

I have a web site that has some content protected via apache basic authentication. Is there a way for me to tell (from the access logs perhaps?) how many users are actually using the login? Intranet traffic is excluded from having to log in, so I…
nedlud
  • 273
  • 2
  • 10
1
vote
2 answers

Asterisk: Authenticated SIP trunk

Let's say I have an Asterisk system with a bunch of connections: there are phones (who register itself with *) and providers (who wish to establish SIP trunks to put a lot of calls over, with different Caller IDs). Here is my vision about how calls…
brownian
  • 291
  • 3
  • 13
1
vote
0 answers

Apacheauth for svn, websvn, trac: internally show different name from logon name

We have a webserver which offers svn, websvn and trac using ApacheAuth, which we are in the process of moving to a new domain. I am looking for a way to have a translation Logonname -> Username. This is why: For external reasons, the…
Posipiet
  • 1,735
  • 14
  • 13
1
vote
3 answers

Browser not asking for client certificate

I am configuring Apache to use client certificate authentication. When I brows to the site however, it does not ask me for a certificate, unless SSLCACertificateFile is specified. It will then ask for a certificate through the browser. The browser…
user779608
  • 13
  • 1
  • 3
1
vote
2 answers

Which Authentication Server in consumer Access Points

The WPA2 standard defines three entities: STA: the networking station, e.g. pc AP: access point AS: authentication server As far as I understand, when you buy a regular access point, there is a built-in authentication server. My book says that in…
1
vote
1 answer

How to start Server user authentication in PHP and Apache?

I had a production server which used to authenticate user before granting access. I setup a new machine and copied files from the old server. Now, I can access pages fine, but it does not ask for username and password. When I checked the value of…
vinny
  • 169
  • 1
  • 1
  • 6
1
vote
0 answers

SVN server authentication on Mac - users are not recognized

We have a anomaly here, trying to set up SVN authentication. Here is apache configuration: DAV svn SVNPath /svn/repo_main AuthType Basic AuthName "svn" AuthzSVNAccessFile /svn/repo_main/conf/authz Require valid-user …
Dmitry
  • 117
  • 7
1
vote
2 answers

How does Microsoft Active Directory handle user authentication?

As I am looking for more information for my final exam I was wondering how the process of authenticating Windows users works. In my own imagination it could possibly go like this: user enters login information on his windows machine machines…
1
vote
1 answer

Credentials caching in OpenLDAP proxy

I am creating LDAP proxy server using OpenLDAP, server will be used for user authentication (using simple bind over SSL/TLS). Is there a way to make OpenLDAP proxy to cache simple bind credentials and respond to simple bind requests from cache in…
DavisNT
  • 334
  • 1
  • 4
  • 12
1
vote
1 answer

How to make ssh connection between servers using public-key authentication

I am setting up a continuos integration(CI) server and a test web server. I would like that CI server would access web server with public key authentication. In the web server I have created an user and generated the keys sudo useradd -d…
Rafael
  • 163
  • 1
  • 2
  • 9
1
vote
1 answer

Can one config LDAP to accept auth from ssh-agent instead of from Kerberos?

[This question is not about getting your LDAP password to authenticate you for SSH logins. We have that working just fine, thank you :-) ] Let's suppose you're on a Linux network (Ubuntu 11.10, slapd 2.4.23), and you need to write a set of utilities…
Alex North-Keys
  • 541
  • 4
  • 6