Nis A&b
Nis A&b
BRANCH : IF6I
SUBJECT: NIS
Title Of Micro-Project:
GROUP MEMBERS
Jayesh
Finalization of microproject as
2 Chaudhari,krish
well as detailed discussion
na nikam
regarding topic
Done by all
Planning of micro-project members
regarding, resources,
3 software used, submission
date and completing part a
plan of micro – project
Jayesh Chaudhari
Complete analysis of
4 design part of micro-
project & distribution of
module among group
members
Krishna nikam
Done by all
Presentation of 1 part of micro-
st
members
project Infront of guide by
7
each group member and
Preparing of part b plan for
micro-project
Krishna
8 Submission of micro-project nikam,jayesh
Chaudhari
Resources used: -
Name Of
Resources Specification Quantity Remarks
Sr No
Required
HP laptop ryzen 5
1 Computer system 1 -
5600h 8GB RAM
Internet/Google
3 5G 1 -
Chrome
4 Software VS Code 1 -
PART B
Aim Of The Project:
The aim of this micro-project is to develop a biometric
authentication system using fingerprint and face
recognition. It enhances security by replacing or
supplementing traditional password-based authentication.
The project ensures a reliable, efficient, and user-friendly
authentication method while applying biometric techniques
for secure login, access control, and identity verification.
Brief Description:
This micro-project focuses on biometric authentication using
fingerprint and face recognition.
It aims to enhance security by verifying users based on their
unique biometric traits.
The system reduces risks associated with traditional
password-based authentication.
The project demonstrates the effectiveness of biometrics for
secure access control.
if (canAuthenticate) {
bool isAuthenticated = await
_localAuth.authenticate( localizedReason: 'Scan your
fingerprint to log in', options: AuthenticationOptions(
biometricOnly: true, // Ensures only biometric
authentication is used
stickyAuth: true,
useErrorDialogs: true, // Shows system error dialogs
),
);
if (isAuthenticated) {
final storedPassword = await _storage.read(key:
'password');
final storedUsername = await _storage.read(key:
'username');
if (storedPassword != null && storedUsername != null)
{
Navigator.pushReplacement( contex
t,
MaterialPageRoute(builder: (context) =>
PasswordManagerHome()),
);
}
} else {
ScaffoldMessenger.of(context).showSnackBar( Sn
ackBar(content: Text('Authentication failed')),
);
}
} else {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(content: Text('Biometric authentication is
not available')),
);
}
} on PlatformException catch (e) {
ScaffoldMessenger.of(context).showSnackBar( S
nackBar(content: Text('Error: ${e.message}')),
);
}
}
Code explanation:-
The `authenticateWithBiometrics()` function in Flutter
checks if biometric authentication (fingerprint or face
recognition) is available and, if so, prompts the user to
authenticate. If authentication is successful, it retrieves the
stored username and password from secure storage and
navigates to the `PasswordManagerHome` screen. If
biometrics are unavailable or authentication fails, it
displays an appropriate message using a `SnackBar`. The
function ensures only biometric authentication is used
(`biometricOnly: true`) and handles errors gracefully using
a `try-catch` block to catch `PlatformException`. This
provides a secure and user-friendly way to log in without
manually entering credentials. / '.¸7˙½•
Output:-
Name Of
Sr Resources Specification Quantity Remarks
No Required
HP laptop ryzen
Computer
1 5 5600h, 8 GB 1 -
System
RAM
IntelliJ IDEA,
3 Software 1 -
Microsoft word
Conclusion :
The biometric authentication project successfully enhances
security by implementing fingerprint and face recognition
for user verification. It eliminates the need for traditional
passwords, reducing the risk of credential theft and
unauthorized access. Secure storage techniques ensure
that sensitive user data remains protected. By integrating
biometric authentication, the project demonstrates a real-
world application of secure access control, improving both
security and user convenience. This approach aligns with
modern cybersecurity practices, making authentication
more reliable and efficient. / '.¸7•˙½