Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 655

the process of establishing the authenticity of a person or other entity. Not to be confused with authorization - defining access rights to resources.

5 votes
Accepted

Is this a good way to handle login process

In your process, people will get a distinct error code depending on whether the account exists or not. This is often considered somewhat inopportune. It is preferable if it is not possible, for outsid …
Thomas Pornin's user avatar
2 votes

Is secure web-app off-line auth possible?

Generic answer: if password-based authentication can be performed offline, then the app necessarily contains all that is needed to decide whether a given password is the correct one or not. … If users accept a 1-second wait for authentication on their smartphone, then the smartphone CPU must necessarily be able to verify a password within one second. …
Thomas Pornin's user avatar
4 votes
Accepted

Pin + guid in URL secure for a web app?

Using the GUID as unique identifier for the user instead of the email address has benefits against low-power attackers. The URL-with-GUID has been sent through email, so it cannot be considered as rea …
Thomas Pornin's user avatar
4 votes

Message authentication code based on a single AES block

If you really need to use AES, then you may use CBC-MAC. Be wary, though, of the conditions: CBC-MAC is secure only if: all messages have the same length, or (alternatively) you always compute the M …
Thomas Pornin's user avatar
10 votes
Accepted

What's wrong with this authentication system?

I assume that the user ID are attributed randomly and uniformly among the 232 possible 32-bit values. In that case, the best an attacker can do is to try potential user IDs (32-bit values) in any orde …
Thomas Pornin's user avatar
3 votes
Accepted

Why is it dangerous to stay logged in as root for an extended period of time?

In fact is it not inherently dangerous to stay logged in as root; what is dangerous is leaving the room with a root shell open, because any casual attacker could then do quite some damage (he could do …
Thomas Pornin's user avatar
10 votes

How do SSL authenticated users prove authenticity through UDP packets?

In this case, since you worry about authentication only, things would go that way: Client and server make some normal SSL and run an authentication protocol within that SSL. …
Thomas Pornin's user avatar
3 votes

What are relation between security services?

Authentication: you have some guarantee as to the identity of the source of a given message. … Basic authentication is when you are the verifier; non-repudiation is when the whole World is the verifier. Thus, successful non-repudiation implies authentication (and thus integrity). …
Thomas Pornin's user avatar
50 votes
Accepted

Web authentication - password vs key file

The main problem with a key file is that it is a file. As such, it is stored somewhere, on some physical medium. It will be copied with backups. The file will still be there on discard hard disks. Use …
Thomas Pornin's user avatar
11 votes
Accepted

static vs dynamic vs challenge response

A static authentication protocol means that the device which does the authentication does not compute anything. If embeds some secret value but can, at best, show it. … A dynamic authentication protocol is the opposite: the device computes things. …
Thomas Pornin's user avatar
83 votes
Accepted

Token-based authentication - Securing the token

The "authentication token" works by how the server remembers it. A generic token is a random string; the server keeps in its database a mapping from emitted tokens to authenticated user names. …
Thomas Pornin's user avatar
16 votes
Accepted

Is it possible to have authentication without state

To some extent, you can offload state on the clients. You encode the access rights of a user into a blob to which you add a MAC computed with a server secret key. The blob-with-MAC is then sent to the …
Thomas Pornin's user avatar
6 votes

Should a closed source website keep a secret key in its source?

Source code life cycle and key management may conflict. For instance, you may (should) use a versioning tool such as Subversion to store the successive modifications you perform on the source code; if …
Thomas Pornin's user avatar
4 votes

Does Username + Password + Pin improve login security?

A PIN is just a password -- a password which is restricted to digits and constrained in size, but a password nonetheless. PIN make sense in contexts where digits are natural, namely ATM systems and ot …
Thomas Pornin's user avatar
6 votes

What is the key when facial recognition is used as a password?

Apart from @DavidWachtfogel's answer, which gives good information on the difficulty of deterministically turning a face into a sequence of bits, I would like to point out that your face cannot be a " …
Thomas Pornin's user avatar

1
2 3 4 5
16
15 30 50 per page