Article View: comp.os.ms-windows.programmer.tools
Article #949Re: Backdoor Password - if MASTER passwd is lost ?
From: Brad P. Smith
Date: Fri, 11 Aug 1995 17:21
Date: Fri, 11 Aug 1995 17:21
44 lines
2924 bytes
2924 bytes
On Thu, 10 Aug 95 17:12:37 PDT, in comp.os.ms-windows.programmer.misc, shah@wg.com wrote: ->The app. that I am writing needs to have a MASTER password for the ->"Supervisor". If the "supervisor" gets hit by lightining (God forbid !) or if ->the Supervisor forgets his/her password, how does he/she get in the system ? ->Assume that NO ONE else has access level equivalent to the Supervisor. Also ->this password needs to be different for each instance of the application i.e ->if (hopefully) someday this app. were to be marketed, then I need to have a ->different MASTER password (maybe based on the application serial number) for ->each copy of the app.; otherwise the bulletin boards and news groups will be ->flooded with this SAME MASTER password for all the copies of this app !!! It depends on whether you want the backdoor password to be *always* available, and thus documented somewhere, or only available in absolute emergencies. How I handled this in an application I worked on a long time ago was to have the master password based on some scheme that included parts of today's date & time. The actual password was generated by an algorithm that took in certain constants, plus the day & month values, and scrunched them together to produce an seemingly-random sequents of letters & numbers. In your case you'd want to include some or all of the serial number in your algorithm. Then, your customer support people would have a small utility which, when fed in the serial number and whatever else you wanted would take the input and generate a "one time only" password. The benefit of using the date/time in the key is that the password automagically becomes invalid as soon as the hour or day changes. The customer could write the password down, but it will be useless to him if he doesn't know how to generate a new one an hour later. Naturally, the exact algorithm you'd use to encode/decode the password would be a closely guarded secret within your company. Brad. -- Brad P. Smith - Software Designer Cognos Inc.; 3755 Riverside Dr.; Ottawa, Ontario, CANADA; K1G 3Z4 Voice: (613) 738-1440 ext 3702 FAX: (613) 738-0002 Internet: smithb@bps.synapse.net or smithb@cognos.com
Technical Details
Message-ID:
<40g3hu$rq6@wormhole.cognos.com>Path:
arc1-ca.pugleaf.net!wormhole.cognos.com!usenetReferences:
<NEWTNews.808100472.4788.shah@shah.wg.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!wormhole.cognos.com!usenet From: smithb@cognos.com (Brad P. Smith) Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.controls,comp.os.ms-windows.apps.utilities,comp.os.ms-windows.apps.misc,comp.os.ms-windows.apps.comm,comp.lang.c++ Subject: Re: Backdoor Password - if MASTER passwd is lost ? Date: Fri, 11 Aug 1995 17:21:17 GMT Organization: Cognos Inc. - Desktop Products Message-ID: <40g3hu$rq6@wormhole.cognos.com> References: <NEWTNews.808100472.4788.shah@shah.wg.com> NNTP-Posting-Host: 142.80.128.27 X-Newsreader: Forte Free Agent 1.0.82