Upload
sutharshan-sharma
View
217
Download
1
Embed Size (px)
Citation preview
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
1/172
i
@IPHINGBKH AITY _NI\OPQITY
Lkaucty jl Toabnjcjgy, Onginooring knd tbo
Onvirjnhont
@Qa UBjnsX Ajhputor Notwjres knd Qoaurity
Individukc Vrjmoat Linkc Popjrt
AHV
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
2/172
ii
DOACKPKTIJN JL JPIGINKCITY
Tbis is tj aortily tbkt tbis prjmoat, tbo ontiro dosign knd aroktijn jl @kne cjaeor systoh
`ksod jn twj-lkatjr kutbontiaktijn wks akrriod jut knd su`hittod ks truo wjre jl
Qivksknekr Qutbkrsbkn jl rogistrktijn nuh`or ;4;446
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
3/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
4/172
iv
KAENJWCODGOHONT
I wjucd cieo tj tbkne hy Vrjlossjr. N G M Diks knd Dr. Bosiri Dbkhhiek Woorksingbo ljr
jlloring tboir proaijus tiho, ajntinujus bocp knd suppjrt rogkrding tbis prjmoat ljr its
suaaoss. Hy bokrtloct jl grktitudo gjos tj yju ljr bocping ho kt ovory stop witb noaosskryguidknao.
Qoajndcy, I wisb tj tbkne Kustjn ci`rkry ljr prjviding `jjes olliaiontcy wbiab bocpod ho
oxtrohocy, tj gkin enjwcodgo jn tbo su`moat hkttors knd ks guidknao ljr tbo kssignhont.
Tbirdcy, I wjucd cieo tj tbkne hy lrionds knd `ktab hktos ljr ovorytbing tbkt tboy bkvo
djno tj bocp ho witb tbis prjmoat, knd kcsj hy pkronts ljr prjviding ho witb kcc noaosskry
oquiphont knd suppjrt.
Linkccy, I tbkne @irhingbkh Aity _nivorsity tj giving ho suab prjmoat tj gkin hy enjwcodgo
hjst prkatiakc in Individukc Vrjmoat AHV
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
5/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
6/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
7/172
vii
1.?.2 Vkssivo Inlorrod Qonsjr............................................................................... 17
1.?.9 \i`rktijn Qonsjr........................................................................................... 12
1.?.;6 Hotkc jn/jll switab ..................................................................................... 19
1.?.;; Airauit dikgrkh jl ajhpcoto `kne cjaeor systoh= ........................................ 46
1.?.;0 Vrjmoat Vrjtjtypo ........................................................................................ 4;
1.< Qjltwkro Ihpcohontktijn .................................................................................... 40
1.
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
8/172
viii
4.0.? Akso 6? - @kne cjaeor cjaeod hjdo .............................................................
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
9/172
ix
9.6 KVVONDIAOQ ........................................................................................................ 96
9.; Typo jl hoksurohonts ....................................................................................... 96
9.;.; Hoksuring prjaoss ....................................................................................... 9;
9.;.0 Tbo lingorprint systoh krabitoaturo=............................................................. 90
9.0 Ajhpjnonts lokturos, spoailiaktijns knd sabohktia dikgrkh ............................. 91
9.0.; Qpoailiaktijns jl Krduinj hogk 0?
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
10/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
11/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
12/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
13/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
14/172
xiv
GCJQQKPY
IDO Intogrktod Dovocjphont Onvirjnhont
PTA Pokc Tiho Acjae Hjduco
I0A Intorlkao tj Ajhhuniakto
CAD Ciquid-arystkc dispcky
\DA \jcts Diroat Aurront
GND Grjund
QDK Qorikc Dktk Cino
QAC Qorikc Acjae Cino
KDA Knkcjg tj Digitkc Ajnvortjr
DA Diroat Aurront
COD Cigbt Ohitting Dijdo
VWH Vucso Widtb Hjducktijn
Px Poaoivor
Tx Trknshittor
\ \jctkgo
\aa Vjsitivo Quppcy \jctkgo
OOVPJH Ocoatriakccy Orksk`co Vrjgrkhhk`co Pokd-Jncy Hohjry
JTV Jno-tiho pksswjrd
GQH Gcj`kc Qystoh ljr Hj`ico ajhhuniaktijn
QHQ Qbjrt Hosskgo Qorviao
_KPT _nivorskc Ksynabrjnjus Poaoivor/Trknshittor
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
15/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
16/172
0
;.; Vrj`coh dolinitijn
@kne cjaeors kro pckys ihpjrtknt rjco in tjdkys cilo knd it is ajnsidorod tbo sklost pckao
tj stjro mowocry, djauhonts, stjae aortiliaktos knd ota. Tbo trkditijnkc hotbjds usod ljr
hjst jl `knes rocy jn hknukc cjae knd VIN nuh`or/ pksswjrd wbiab kro njt luccy soauro.
In hknukc cjae systohs, wbonovor k austjhor usos tbo cjaeor, bo/sbo sbjucd kssist `y
tbo `kne stkll. Tbis hky cokd tj wksto jl tiho ljr `jtb tbo austjhor knd tbo stkll. Tbo
hkmjr drkw`kae jl suab hknukc cjaeor systohs kro ckae jl soaurity `oakuso tbo eoy akn
`o dupciaktod. Tbis wjucd cokd tj tbolt jl tbo ontiro vkcuk`co pjssossijns in tbo `kne
cjaeors.
Tbo pksswjrd, Vorsjnkc Idontiliaktijn Nuh`or (VIN) jr shkrt akrds kro usod ljr porsjnkc
idontiliaktijn tj kaaoss cjaeors. Knybjw, tbo shkrt akrds akn o stjcon, tbo pksswjrd knd
VIN nuh`ors akn `o ljrgjtton jr higbt `o guossod. Qticc hkny `knes struggco tj provont
iccogkc kaaoss, intrusijns knd stjpping soarot inljrhktijn disacjsuro. Tboso kcc `oajho
prj`cohs jl trkditijnkc kne cjaeors knd cokds tj kne rj``orios. Tbo skloty jl tbis cjaeors
nood tj `o onsurod knd voriliod tbrjugb tbo strjng kutbontiaktijn hoabknishs in jrdor
tj rostriat tbo unkutbjrizod kaaoss.
;.0 Qajpo
Tbo sajpo jl tbo prjmoat is ajnaontrktod kt twj-lkatjr kutbontiaktijn in jrdor tj kaaoss
tbo @kne cjaeor systoh. Tbo prjmoat is hkincy ljausod jn rostriating tbo unkutbjrizod
kaaoss knd kcorting in akso jl tbolt. Tbo lingorprint `ijhotria knd jno-tiho pksswjrd
kutbontiaktijn ihpcohontod. Tbo kaaurkay jl lingorprint saknnor is dopondod jn
lingorprint sonsjr spoailiaktijn. Hjro kaaurkay jl lingorprint sonsjr wicc prjvido strjng
lingorprint kutbontiaktijn wbiab aknnjt `o ljrgod. Tbo jno-tiho pksswjrd dopondod jn
tbo hotbjd jl rkndjh nuh`or gonorktijn. Tbo prjmoat wicc bkvo sjltwkro, bkrdwkro
ihpcohontktijn knd cihitktijns.
;.0.; Qjltwkro
Tbo knkcysis jl sjltwkro ihpcohontktijn nood tj `o idontiliod in jrdor tj wjre jn tbis
prjmoat. Tbo prihkry wjres ljr sjltwkro sokrabing ks ljccjws=
Cokrn tbo uskgo jl Krduinj A, A++ ckngukgo knd its aritorik `ksod jn tbo prjmoat
j`moativos.
Idontilios tbo hohjry uskgo roquirod `y tbo prjmoat tbkt wicc dovocjp wbotbor it
suits witb Krduinj Hogk 0?
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
17/172
1
Aboae knd oxpcjro tbo ontiro toabniquos in tbo dovocjpod prjgrkh in jrdor tj
kabiovo tbo prjmoat j`moativos.
;.0.0 Bkrdwkro
Tboro kro sovorkc knkcysis akrriod jut `oljro prjaood tj tbo prjmoat roquirohonts ljr tbobkrdwkro ihpcohontktijn ks ljccjws=
Dosigning tbo `kne cjaeor witb tbo cjae styco sjconjid kttkabod tj it.
Qokrabing ljr tbo hktorikc tbkt wicc `o usod ljr prjmoat suab ks wjjd, nkic knd cjaeor
jponor djjr.
@uict tbo prjtjtypo `ksod jn tbo dosign knd prjmoat roquirohonts tj lkaicitkto tbo
systoh oksior.
;.0.1 Cihitktijn jl tbis prjmoatTbo cihitktijns jl tbis prjmoat kro idontiliod tbrjugb tbo initikc systoh knkcysis,
dovocjphont onvirjnhont knd `ksod jn tbo oquiphonts spoailiaktijns ks ljccjws=
Cihitod tiho, bigb ajhhithont knd cihitod toabniakc sjurao knd suppjrt.
Njiso in lingorprint sonsod dktk knd spjjl jl kttkae.
Tbo ajntinujus pjwor suppcy noodod ljr tbo systoh in jrdor tj wjre cilotiho.
Tbo systoh jncy ljausing jn twj-lkatjr kutbontiaktijn knd kcorting. Tbo pbysiakc
soaurity is njt ajnaornod.
;.1 Pktijnkc
@y lroquont j`sorvktijns knd knkcysis tbo oxisting systoh, quostijning knd intorviowing
pojpco k`jut tboir porsjnkc oxporionao k`jut oxisting systohs drkw`kaes knd sjcutijn
ljr tbkt, tbo idok jl k now knd ihprjvod systoh wks hknilostod. In torhs jl soaurity twj
lkatjr kutbontiaktijn is huab `ottor sjcutijn ljr sjcutijn ljr `kne cjaeor systohs tbkt akn
`o k`co tj prjvido okso jl kaaoss, pjrtk`icity, lcoxi`icity knd rocik`icity. Duo tj tbo k`jvo
hontijnod issuos, tbo prjpjsod sjcutijn is `ksod twj lkatjr kutbontiaktijn systoh ljr
`kne cjaeors.
Tbo hkin purpjso jl prjpjsod `kne cjaeor soaurity systoh is tj dotoat knd rostriat tbo
kaaoss jl kn unkutbjrizod porsjn wbj is trying tj uncjae tbo `kne cjaeor knd kcorts in tbo
akso jl tbolt.
Tbis prjpjsod systoh prjvidos dju`co soaurity `y using lingorprint knd jn tiho pksswjrd
tbrjugb GHQ hjduco. Tbo lingorprint ajccoatijn knd akpturing kro djno in hinihuh tiho
duo tj jptiakc sonsjr knd tbo shkcc tohpckto sizo. Tbo hkmjr `onolit kro bkrdor tj lkeo,
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
18/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
19/172
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
20/172
8\I@ZBP)
{
Qorikc.print("\i`rktijn Dotoatod")5
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("\i rktijn Dotoatod")5
cad.sotAursjr(6,;)5
cad.print("@o Kcort")5
`oop(166)5
docky(0666)5
honuZstktus845
}
}
cad.sotAursjr(6,6)5
cad.print("Dkto= " + vZdkto)5
cad.sotAursjr(6,;)5
cad.print("Tiho= " + vZtiho)5
//cad.sotAursjr(;4,;)5
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
120/172
;600)
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
122/172
;62
{
`oop(066)5
}
}
il(honuZstktus884)
{
ljr(int x8;5x38?5x++)
{
`oop(?66)5
}
honuZstktus865
}
abkr austjhEoy 8 austjhEoypkd.gotEoy()5
il (austjhEoy)
{
Qorikc.printcn(austjhEoy)5
il(austjhEoy88'K')//Kdhin
{
honuZstktus8;5
`oop(066)5
Qorikc.printcn("Kdhin")5
cad.acokr()5cad.sotAursjr(6,6)5
cad.print("Kdhin Vksswjrd=")5
cad.sotAursjr(6,;)5
cad.`cine()5
}
il(austjhEoy88'@')//Onrjcc
{
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
123/172
;69
honuZstktus805
`oop(066)5
il(kdhinZstktus88;)
{
Qorikc.printcn("Onrjcchont")5
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("O-Ontor Ka/Nj=")5
cad.sotAursjr(6,;)5
cad.`cine()5
}
ocso
{
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("Cjg in")5
cad.sotAursjr(6,;)5
cad.print("Poquirod")5
docky(0666)5
}
}
il(austjhEoy88'A')//Docoto
{
honuZstktus815
`oop(066)5
il(kdhinZstktus88;)
{
Qorikc.printcn("Docoto")5
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("D-Ontor Ka/Nj=")5
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
124/172
;;6
cad.sotAursjr(6,;)5
cad.`cine()5
Qorikc.printcn(lps.DocotoID(strZkanj.tjInt()))5
}
ocso
{
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("Cjg in")5
cad.sotAursjr(6,;)5
cad.print("Poquirod")5
docky(0666)5
}
}
il(austjhEoy88'D')//Vrjaoss
{
`oop(066)5
cad.nj@cine()5
il(honuZstktus88;)
{
il(strZVksswjrd88strZKdhinVW)
{
`oop(066)5
kdhinZstktus8;5
honuZstktus865
}
ocso{
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("Invkcid Vksswjrd")5
`oop(?66)5
docky(0666)5
cad.acokr()5
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
125/172
;;;
strZVksswjrd8""5
kdhinZstktus865
honuZstktus865
}
}
il(honuZstktus880)
{
kaaZnj8strZkanj.tjInt()5
Onrjcc(kaaZnj)5
kaaZnj865
honuZstktus865
}
il(honuZstktus881)
{
kaaZnj8strZkanj.tjInt()5
lps.DocotoID(kaaZnj)5
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("Docotod")5
`oop(?66)5
docky(0666)5
cad.acokr()5
kaaZnj865
honuZstktus865}
//********************************************************
il(honuZstktus88?)
{
linisbod8hiccis()5
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
126/172
;;0
Qorikc.print("Linisbod=")5
Qorikc.printcn(linisbod)5
ockpsod8linisbod-stkrt5
Qorikc.print("Hiccisoajnds Ockpsod=")5
Qorikc.printcn(ockpsod)5
strZthprndpw8strZthprndpw.su`string(strZthprndpw.congtb()-
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
127/172
;;1
}
honuZstktus865
}
ocso
{
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("Tiho Jut")5
}
strZrndpw8""5
strZthprndpw8""5
}
}
il(austjhEoy88'Q')//Onrjcc
{
honuZstktus8?5
`oop(066)5
Qorikc.printcn("Vin Ontor")5
cad.acokr()5
cad.sotAursjr(6,6)5
cad.print("Ontor Vin=")5
cad.sotAursjr(6,;)5
cad.`cine()5
}
il(austjhEoy88'O')//Onrjcc{
cad.acokr()5
honuZstktus865
kdhinZstktus865
kaaZnj865
digitkcWrito(VINZPOCKY,BIGB)5
}
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
128/172
;;4
il (austjhEoy88';' || austjhEoy88'0' || austjhEoy88'1' || austjhEoy88'4' ||
austjhEoy88'?' || austjhEoy88'
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
129/172
;;?
//vjid QondQHQHosskgo()
//{
// il (!ljnk.sondQHQ("+947770;;690", shs`ullor)) {
// Qorikc.printcn(L("Lkicod"))5
// } ocso {
// Qorikc.printcn(L("Qont!"))5
// }
//}
vjid gonorktoVksswjrd()
{
//Qtring tohpZpw8""5
rkndjhQood(knkcjgPokd(6))5 // rokd lrjh kn knkcjg pjrt witb njtbing ajnnoatod
ljr(int i865 i 3
7/23/2019 Bank Locker Security System Based on Two-Factor Authentication Project Report by S.sutharshan
130/172
;;