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
1 answer

Staging and Development Server Accessibility Restrictions

I have some staging and development web servers on cloud hosting. I do not want them to be accessible to the general public. It's easy enough to restrict access by network or authentication. The problem is that there are many times where I want…
Apreche
  • 1,405
  • 5
  • 17
  • 20
1
vote
1 answer

setting up freebsd kerberos key server windows client log in musts

Very few texts talk about a unix key server a client windows (lets say XP) to authenticate. The texts that I have read will mention this topic but more or less skip the details. When setting up/compiling/building/etc a unix (say freebsd) key server,…
rev
  • 113
  • 1
  • 8
1
vote
1 answer

Setting up apache basic authentication behind a reverse proxy

I'm having difficulty passing htdigest authentication through a reverse proxy setup on machine A, to machine B, which requires the authentication. I'm setting up a home development network, with all the basic tools (Trac, hudson, git, svn, etc..) …
mklauber
  • 133
  • 1
  • 6
1
vote
3 answers

Break-in attempts on Ubuntu VPS box

Possible Duplicates: Is it normal to get hundreds of break-in attempts per day? What should I do if I find someone is brute forcing my server password? I have an Ubuntu 10.04 VPS box. It's been installed for a couple of days and only has ssh,…
Artem Pakk
  • 147
  • 7
1
vote
2 answers

IIS Challenge Response - Changing Passwords?

On some customer sites we're using Windows Integrated authentication only to provide an initial Challenge Response before pushing the user to then login to the applications themselves with a login page for each application using a second set of…
Chris W
  • 2,670
  • 1
  • 23
  • 32
1
vote
1 answer

Can Apache be integrated with 3rd party cookie session authentication/authorization?

I'd like to configure Apache to serve files directly from the file system but authenticate/authorize users. How can Apache be configured so it calls my auth middleware? Basically: 1) Redirect to login if user is not authenticated. Check session…
1
vote
0 answers

Certificate issue on remote desktop

Please see this link : Certificate issue on remote desktop I have 2 PCs with Windows 7 Ultimate... (both are in NETHOME) PC 1 : computer name = alfa -> (main pc) , IP = 192.168.0.1 PC 2 : computer name = beta-lap ->(laptop) , IP =…
SilverLight
  • 290
  • 3
  • 11
  • 22
1
vote
1 answer

PAM: How can I create a service which passes username/password to a script?

I'm setting up a PAM service for OpenVPN, such that the OpenVPN PAM module can authenticate a username/password to an external service that I will implement using a shell script. The OpenVPN PAM module states approximately the following…
davidparks21
  • 928
  • 1
  • 12
  • 27
1
vote
1 answer

Can Apache authenticate automatically?

I'm sorry if the title isn't very precise, but that's really all there is to it. I'm running Apache 2.2 on my computer to host a LAN subversion server. Since it's local-only, I don't need strict security, and there are no authentication directives…
zneak
  • 328
  • 2
  • 14
1
vote
1 answer

Generating a client-side SSL/TLS certificate from in the browser

CACert and MyOpenID both do this: they have a form that, when submitted, will cause the browser to generate a key and send the public part up to be signed, then deliver back down the signed certificate containing that public key which the browser…
singpolyma
  • 489
  • 2
  • 7
  • 19
1
vote
2 answers

LDAP authentication apache 2.2 error 500

This is my LDAP configuration in Apache2.2.x Order deny,allow AuthType Basic AuthName "Test" AuthBasicProvider ldap AuthLDAPURL "ldap://dc1.domain.com:389/DC=domain,DC=com?sAMAccountName" NONE AuthLDAPBindDN…
DenBelg
  • 21
  • 2
  • 3
1
vote
3 answers

Putty: ssh root login to server disabled, how i can setup passwordless access to root on server?

For added security, we've disabled root login to server via ssh. We have a special ssh account that users need to login as, and then su as root in they require root access. How can we setup passwordless logins using putty in this situation? I've…
gAMBOOKa
  • 999
  • 6
  • 19
  • 34
1
vote
1 answer

LDAP authentication apache 2.2

I am trying to install basic ldap authentication on a website on an apache 2.2 server. I put this in my /etc/apache2/apache2.conf file LoadModule ldap_module /usr/lib/apache2/modules/mod_ldap.so LoadModule authnz_ldap_module…
DenBelg
  • 21
  • 2
  • 3
1
vote
1 answer

Apache does not load/work - even with htaccess authentication

I've set up my VPS, installed httpd under yum install httpd and restarted the server. When I've added a .htaccess to /var/www/html nothing works at all, which inside the htaccess file has an authentication required and does not show anything except…
MacMac
  • 2,061
  • 10
  • 31
  • 38
1
vote
1 answer

Multi-factor authenication at ec2 and in general

I noticed aws has multi-factory authentication: http://aws.amazon.com/mfa/faqs/#How_does_AWS_MFA_work This seems to be only for when you login via the web into the web console etc. In general, could this type of authentication be also applied to…
Blankman
  • 2,891
  • 10
  • 39
  • 68