Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 29.10.05 20:26 
Ist es mit Delphi möglich, einen Benutzer anhand eines usb-stickes im laufwerk zu identifizieren? Man könnte zum beispiel eine Jokedatei drauf speichern, eine Checksumme per md5 berechnen und dann bei der Authentifizierung prüfen, ob die datei da ist und dann eine wieder eien checksumme berechnen und wenn die richtig ist dann ist der user identifiziert. Ist das möglich?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
MrSaint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1033
Erhaltene Danke: 1

WinXP Pro SP2
Delphi 6 Prof.
BeitragVerfasst: Sa 29.10.05 21:04 
wofür willst du deinen Benutzer denn authentifizieren? zu Windows-Login? oder für ein eigenes Programm? Also für ein eigenes Programm sollte das definitiv möglich sein. Der Rechner, an dem der USB-Stik hängt muss diesen halt fürs Netzwerk freigegeben haben...


Gruß


MrSaint

_________________
"people knew how to write small, efficient programs [...], a skill that has subsequently been lost"
Andrew S. Tanenbaum - Modern Operating Systems
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 30.10.05 00:40 
Was hat das denn mit einem Netzwerk zu tun? :gruebel:

Also dass soll für eigenes Programm sein und alles lokal auf dem eigenen Rechner vor sich gehen :wink:

KOLLER

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 30.10.05 10:29 
dann ist der benutzer aber über die Datei identifiziert ! Also wenn man diese Datei auf einen anderen USB STick kopiert, kann man sich auch mit diesem authentifizieren.
Man müsste das irgendwie also noch an den USB Stick binden, was schon wieder komplexer wird !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Stefan-W
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 475

Win 7 SP1
D2005 PE
BeitragVerfasst: So 30.10.05 11:06 
da könnte man die Seriennummer des Datenträger nehmen...
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 30.10.05 11:37 
Und wie ermitteln man die Seriennummer eines USB-Sticks?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Stefan-W
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 475

Win 7 SP1
D2005 PE
BeitragVerfasst: So 30.10.05 11:41 
genau wie bei einem Laufwerk (Festplatte)

Hier ein Link dazu
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 30.10.05 12:43 
Wobei diese Nummer aber nicht die wirkliche Seriennummer ist, sondern nur eine Nummer, die bei der Formatiereung ausgespielt wird.
Diese Nummer wird beim Klonen von Datenträgern mitkopiert und ändert sich bei jeder Formatierung.
Man kann die auch mit bestimmten Pogrammen per Hand ändern.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Pepe
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 107

Win 98, Win 2000 Prof., Win XP Prof.
Delphi 2005 Prof.
BeitragVerfasst: So 30.10.05 12:56 
vielleicht wäre es hierbei interessant, sich mal mit zertifikaten und eTokens zu beschäftigen, die nehmen euch alle diese Funktionen nämlich schon ab ;)

und clonen kann man die auch nicht einfach :P
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 30.10.05 21:12 
Also auf swissdelphicenter.com war da ein Kommentar, der sagte, man bekomme die richtige Seriennummer über 'winIO.sys' Ich weiß damit aber nichts anzufangen. Und wie bekommt man, nun die richtige S/N? (ich werd gleich mal nach eTokens suchen, ich weiß nicht mal was das ist :wink:)

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot