Tell me more ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

As a programmer I use the word Authentication and the word Authorisation in my code.

I'd like to find nice abbreviations or alternative words for each of them that

  • are not ambiguous and
  • has reasonably large 'psychological distance' between. i.e. they don't look too similar

i.e 'Auth' is not OK because it is ambiguous.

At the moment I have just removed some letters

  • Authtictn
  • Authristn

Any suggestions?

share|improve this question
3  
Yeah, the problem is that "authtictn" and "authristn" have the same length, differ by just 2 letters, and have 7 letters in common. In other words, that approach has actually removed some of the differences, but left most of the similarities intact. You should probably try to do the opposite thing, by emphasizing the "entic" vs the "oris". – RegDwighт Sep 10 '10 at 21:37
2  
At risk of sounding arrogant, I suggest you don't use abbreviations. Don't be lazy and type the complete words. See McConnell's "Code Complete" for the rationale. – CesarGon Jan 15 '11 at 18:58
I agree with the principal of declarative naming, but in practice - I develop on a windows PC and use subversion. This means that I am constrained by a maximum file path length. Which means I am forced to shorten words. In an ideal World, Adobe would offer their Creative Suite to Linux users (pending soon I believe). Or some bright spark would set up up an OS version of it (like Open Office Suite). stackoverflow.com/questions/3282303/… – JWEnglish Jan 15 '11 at 21:40

6 Answers

up vote 6 down vote accepted

I've worked with IETF people and developers who spend a lot of time on Apache, who tend to use:

AuthN - Authentication
AuthZ - Authorization

You'll find these abbreviations in a lot of IETF technical documents.
Yes, I know British spelling prefers s over z (authorisation).

share|improve this answer
Thanks for this. If the convention exists already, then it makes sense to follow it. – JWEnglish Sep 13 '10 at 14:25

I suppose you could take the approach taken when abbreviating 'internationalization' as 'i18n' (and 'localization' as 'l10n':

  • 'authentication' => 'a12n'
  • 'authorization' = > 'a11n'

The idea is to keep the first and last letters of the word, and replace all of the interior letters with a number representing the count of the letters removed.

Of course, looking at 'a12n' and 'a11n', you may not know the meaning right away, so this is probably not the best solution.

share|improve this answer
Thanks for the suggestion. But as you say it might be difficult to remember that 12 = authentication and 11 = authorization – JWEnglish Sep 10 '10 at 20:52
And only 1 character is different between the two, and a middle one at that. – kajaco Sep 11 '10 at 17:02
Yeah, this isn't the best approach, I am sure. I mostly suggested it because I thought the internationalization/localization abbreviations were clever, and I am curious if this scheme can/will be used elsewhere. – pkaeding Sep 11 '10 at 22:20

authent. and authoris.? I would say that your current versions are fairly difficult to read, and also not particularly easy to tell apart from one another at a glance.

share|improve this answer

You could think of replacing the word 'authentication' with 'identification', since in this context, I think they are probably equivalent.

You could then substitute 'authorization' with 'permission'.

Then, abbreviate as 'ident' and 'perm'.

share|improve this answer
The only concern is that I might still end up wondering if Auth = Authentication or Authorisation. But, I really like this idea. Its got legs. If i could find an alternative for Auth as well , then it will be solved. – JWEnglish Sep 10 '10 at 20:54
Good point. I edited my answer with a new suggestion. – pkaeding Sep 10 '10 at 23:18
'credentials' might work as a synonym, too. – kajaco Sep 11 '10 at 17:01
Not exactly. Authentication is the process of evaluating credentials to see if they are acceptable. – Concrete Gannet May 29 '12 at 4:13

I would chose a synonym

  • authenticate synonyms: attest, authenticate, avouch, testify (to), vouch (for), witness
  • authorization synonyms: allowance, authorization, clearance, concurrence, consent, granting, green light, leave, license (or licence), sanction, sufferance, warrant

(As a non-native speaker) I would chose attest and grant.

.

share|improve this answer

What about this:

Auth'ze

Auth'tion? We were tought to put aphostrophoes somewhere to shorten a word.

share|improve this answer
Putting apostrophes into words still follows a general principle. You shouldn't just stick them in wherever. Whacking the 'r' from both words really mucks with the pronunciation; I would try something more like "Au'rization" or "Au'ri'tion". But really, this is so non-standard as to be moot. – MrHen Apr 25 '11 at 15:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.