Online banking system (PHP)...
A PROJECT REPORT ON
ONLINE BANKING SYSTEM SUBMITTED BY MUTHUMANIKANDAN G (Reg No: 70244) Under the guidance of Mrs.N.ANURADHA M.Sc, M.Phil, (Department of Computer Science)
DEPARTMENT OF COMPUTER SCIENCE SUBBALAKSHMI LAKSHMIPATHY COLLEGE OF SCIENCE An Autonomous Institution (Affiliated to Madurai Kamaraj University) & Re -Accredited with B++ by NAAC TVR NAGAR,
ARUPPUKOTTAI ROAD MADURAI-22 (2007-2010)
Subbalakshmi Lakshmipathy College of Science TVR Nagar, Aruppukottai Road, Madurai-625022 Department of Computer Science
BONAFIDE CERTIFICATE This is to certify that the project report entitled Online Banking System is a bonafide record of the project work done by Mr./Ms : G MUTHUMANIKANDAN Reg No : 70244 Course & Year : III B.sc CS In partial fulfillment of requirements for the award of Degree of B.Sc CS, I certify that the Project Work carried out by him/her is an independent work under my supervision and guidance and this project has not formed the basis for the award of any Degree/Diploma/Associate ship/Fellowship or similar nature to any candidate in any University/Institution earlier. Submitted for the viva-voce to be held on ________________.
Head of the Department
Place : 2
ORGANISATION GUIDE CERTIFICATE
The student by Name MUTHUMANIKANDAN G (70244) doing B.Sc COMPUTER SCIENCE from SUBBALAKSHMI LAKSHMIPATHY COLLEGE OF SCIENCE, Madurai-22 has done the project titled ONLINE BANKING SYSTEM under my guidance in our
concern/Firm from ______________ to
___________. This project is an independent work of the candidate and this work has not been done previously by any one to the best of my knowledge.
Signature of the Organization Guide
Seal of the firm /Organization
I hereby declare that this project work entitled ONLINE BANKING SYSTEM submitted to SUBBALAKSHMI LAKSHMIPATHY COLLEGE OF SCIENCE, Madurai-22 is a record of original work done by me and this project work has not formed the basis for the award of any Degree / Associate ship / Fellowship or similar to any candidate in any University.
Signature of the candidate (MUTHUMANIKANDAN G)
Course / Year
Acknowledgement At the very outset, I dedicate my deepest sense of gratitude to my parents for showering on me that blessing and love which have induced me to make this project a success. I would like to express my grateful thanks to our President Dr.R.Lakshmipathy and our beloved Principal Dr.R.Srinivasan, for permitting me to do this project and for
encouragement in my academic career. I take this opportunity to acknowledge my thanks to Mr. M.Karuppasamy M.Sc., M.Phil., PGDCA., DHCM Head of the department for all the help to complete the project successfully. I express my deepest sense of gratitude to Mrs.N.Anuradha M.Sc.,M.Phil, for her guidance and moral support during the project period , because her keen interest and valuable suggestions have helped me throughout the project. I express my sincere thanks to Mr.S.RAMESH MCA, providing me all facilities to carry out my project work in this Organization. I am thankful to my friends who are the real supporters of my academic career. Finally, I am willing to express my heartfelt thanks to the ALMIGHTY for showering his blessings to be a successful human being in all walks of my life.
MUTHUMANIKANDAN G (70244)
PROBLEM DEFINITIONS 2.1
SYSTEM ANALYSIS 3.1
SYSTEM REQUIREMENTS 4.1
SYSTEM DESIGN 5.1
Data Flow Diagram
SNAPSHOTS AND REPORTS
INTRODUCTION The main purpose that banks have been serving since their inception is keeping our money safe for us. While keeping our money safe, they also let us earn a certain amount of interest on the money deposited with them. Traditional banks have been doing this, and internet banks continue the same function. The only difference is in the way the transactions are made. They all know about internet banking and most of us use it quite often as well, but few of us actually understand about the history of internet banking and how it all came out. Knowing the history of internet banking can be incredibly useful, especially since it will allow us to have more respect for the little things that we take for granted. Internet banking has been around for quite a few years now, but has really only become prominent over the past year or so in particular. Internet banking offers an array of different advantages to the user, including account balances and history including year-to-date information, the ability to transfer money from one account to another and to payees for bill payments, check history, reorders, and stop payments, check credit card balances and statements, complete online loan applications, secure interactive messaging with staff, and much more. Internet banking basically allows you to be able to do everything that you can in your regular banking institution, only with the benefit that you can do it all right from the convenience of your own home. Not only is this great because you can be comfortable and have peace of mind knowing that you can keep track yourself of all your banking issues, but as well it allows for more ease because you never have to worry about rushing out and making it to the bank.
About the company Bharat Sevak Samaj (BSS) is the National Development Agency sponsored by the Planning Commission, Government of India to ensure public co-operation for implementing government plans. The main purpose behind the formulation of Bharat Sevak Samaj is to initiate a nation wide, non official and non political organization with the object of enabling, individual citizens to contribute, in the form of an organized co-operative effort, to the implementation of the National Development Plan. The constitution and functioning of Bharat Sevak Samaj is approved unanimously by the Indian Parliament.
Bharat Sevak Samaj is a mission and movement to mobilize peoples’ active participation and the development programs of the Nation was set up in 1952 under the president ship of Pandit Jawaharlal Nehru, then Prime Minister of India on the recommendation of the National Advisory Committee on public co-operation of the Planning Commission, Government of India. BSS have developed scientifically as the most powerful National Development Agency in India with its ardent initiative for the reconstruction, resurgence and rejuvenate of the society. BSS presently carries out numerous functional activities and vocational training programs in various fields all over India through its franchises with an idea of tackling unemployment through job oriented education.
BSS Cyber Solutions BSS Cyber Solutions (BSS CS) is a division of Bharat Sevak Samaj to provide total solutions in the arena of Information Technology and to promote high end IT education and training all over India. BSS Cyber Solutions as a part of its total computer education policy, imparting training in various courses of computer technology all over India through franchises. The training programs are suitable for non-matriculates, matriculates graduates, post graduates, professionally qualified people, and business men and employed personal. BSS CS offers courses certified by Bharat Sevak Samaj and International companies like Microsoft, CISCO, CompTIA etc.
SYNOPSIS Online Banking System With cybercafés and kiosks springing up in different cities access to the Net is going to be easy. Internet banking (also referred as e banking) is the latest in this series of technological wonders in the recent past involving use of Internet for delivery of banking products & services. Even the Morgan Stanley Dean Witter Internet research emphasized that Web is more important for retail financial services than for many other industries. Internet banking is changing the banking industry and is having the major effects on banking relationships. Banking is now no longer confined to the branches were one has to approach the branch in person, to withdraw cash or deposit a cheque or request a statement of accounts. In true Internet banking, any inquiry or transaction is processed online without any reference to the branch (anywhere banking) at any time. Providing Internet banking is increasingly becoming a "need to have" than a "nice to have" service. The net banking, thus, now is more of a norm rather than an exception in many developed countries due to the fact that it is the cheapest way of providing banking services.
PROBLEM DESCRIPTION Existing System Existing system is the traditional banking, where customers have to go through the long queue, time wasted and still wouldn’t have access to efficient and effective banking system.
Proposed System Considering the stress and time taken to go to bank and do transaction. The development of a well structure and secured online banking system will allow customer to perform objectives like, creating a banking system that is easily accessible by customers from the comfort of their homes, offices. Reduce the flow of human traffic and long queues at banks; Promote efficient and effective banking for the banks by focusing on those services that still require physical presence at the banking hall. Provides intra-bank funds transfer services to their customers. Keep a detailed log of customer transactions with the bank on his account. Generate the statement of account of a selected period of time for customers. And Provide a customer relationship services.
SYSTEM ANALYSIS System analysis is a logical process; the objective of this stage is not actually to solve the problem but to determine what must be done to solve the problem. The basic objective of the analysis stage is to develop the logical model of the system using tools such as UML (Unified modeling language).
To reduce the manual and paper work.
To provide quick access.
Easy maintenance of records
FEASIBILITY ANALYSIS Feasibility is the determination of whether or not a project is worth doing. The processes is followed in making this determination is called a feasibility study. Feasibility study is the test of system proposal according to its workability, Impact on the organization ability to meet user’s needs, and effective use of resources. The result of feasibility study is a formal proposal. This is simply a report – a formal document detailing the nature and scope of the proposed solution .The main objective of a feasibility study is to test the technical, social and economic feasibility of developing a computer system. This is done by investigation the existing system in the area under investigation and generating ideas about a new system. On studying the feasibility of the system, three major considerations are dealt with, to find whether the automation of the system is feasible.
Software Requirements Application Requirements •
Microsoft Windows 2000
PHP (Apache Tomcat 5.5)
Database Server •
My SQL 5.0.
Client and Browser •
Microsoft Internet Explorer (6+).
Hardware Requirements Hardware Requirements (Minimum)
Pentium IV 233MHz.
128 MB RAM.
250 MB free hard disk space.
Communication Interface •
Client on Internet will be using HTTP/HTTPS protocol.
Client on Intranet will be using TCP/IP protocol.
A Web Browser such as IE 6.0 or equivalent. 17
Data Flow Diagrams • This Diagram server two purpose. Provides an indication of how date is transformed as it moves through the system. Disputes the functions and sub functions that transforms the dataflow. • The Data flow diagram provides additional information that is used during the analysis of the information domain, and server as a basis for the modelling of functions. • The description of each function presented in the DFD is contained is a process specifications called as PSPEC
ER-Diagrams The entity Relationship Diagram (ERD) depicts the relationship between the data objects. The ERD is the notation that is used to conduct the date modelling activity the attributes of each data object noted is the ERD can be described resign a data object descriptions. The set of primary components that are identified by the ER-Diagram are •
Various types of indicators.
The primary purpose of the ERD is to represent data objects and their relationships.
Address Phone no Date of Birth Age
Generat e the account s
Perfor m transac tions
Generat e trans_lis t
Availabl e amount
Activity Diagram for overall system
Enter userId & Password
Your account balance
Transfer update profile
Accessing view: User after logging into his/her account a page is displayed with the basic requirements: 1) Balance Enquiry. 2) Funds Transfer User can perform various actions on his/her account.
Name of Use-Case: Balance enquiry. Description: • Client can view the balance left in his account, if once he has entered into his account. Preconditions: •
The client has already been logged in. 25
Users of the system: In this online internet banking system, the users are
Administrator: He is the super user responsible for managing system users, taking system backup, generating reports, maintaining organization details, Starting Sessions and ending Sessions and also manages various requests from different Types of users. •
Providing Username, Password and other information required for the users to start
Starting Sessions: The Administrator creates the system users and will be assigned
with the different roles. He is also responsible to start the session when a particular user wants to use the system every time (It is automatically managed setup). •
Managing Data Backup: The Administrator is responsible for managing entire
details by taking the backup periodically. He also takes the Backup of the database in order to prevent loss of data on system crashes or in order to prevent malfunctioning. He can take a backup of entire database or a particular section. •
Crash Recovery: The Administrator manages the crash recovery at the time of
system crash or failure occurs. •
Ending session: The administrator is responsible for ending the session when the particular user logged out of the system (It is automatically managed setup).
Customer (Normal/others): Ordinary customers have a user name & password with which they can login into their account. They can perform all the transactions such as funds transfer, balance enquiry etc by sitting at their home on internet.
Login: User can login to the system by providing appropriate username and
password provided by the administrator. •
Selecting the Account: After logging in the user is provided with a screen showing
the details of accounts and he selects one of the account inorder to perform the transaction. •
Balance Enquiry: He can view the balance left in his account, if once he has entered
into his account. 29
Funds Transfer: Upon the request the user can transfer funds from his account to
other accounts. •
Mini statements: He also can take a mini statement print out upon his requirement.
Database Design CustomerAI Field Name
Login Details Field Name
Mini_stat Field Name
CustomerPI Field Name
Bankdb (Transaction List) Field Name
Overall Description The Online banking Application project will be divided into 4 modules namely: •
Description Login: The customer is asked to enter user name & password. When the user enters the details & submits it goes to a validation engine where it checks valid/not. If valid he is shown with list of accounts he has with the bank. Authentication provides a way of identifying a user, typically by having the user enter a valid user name and valid password before access is granted. The process of authentication is based on each user having a unique set of criteria for gaining access. Server compares a user's authentication credentials with other user credentials stored in a database. If the credentials match, the user is granted access to the account. If the credentials are at variance, authentication fails and account access is denied. Authorisation service manages authentication, authorization, and access control to user accounts, subject to approval from the account holder. several account authorization APIs to accommodate different types of access. After Authentication a user will be verified for performing the various tasks, It access is limited it is known as authorization
Once your registration is complete you will be able to access all of your
accounts, with information asked in the prompts during the registration process. We use this information to authenticate you as a user with access to the retail loan or lease account. Details such as name........add phone......20
Account Information: o
Selecting the Account: After logging in the user is choose the details of accounts and he selects one of the accounts in order to perform the transaction.
Balance Enquiry: The balance details of a particular account to display. Balance of current account ,fixed and saving account
Transaction: This module maintains the information related to the funds that have been transferred by the customer from one of his account to another account of his own. This module helps the customer in executing the fund transfer without the physical visit to the banks premises.
o Mini Statement: When the user requests for mini statements in the home page, system asks the type of statement needed by the customer. When the customer selects the type of statement. The system displays the list of transactions on the screen. If the customer wants to take print outs he can take the print outs of the same.
Tools and Technologies used PHP PHP: Hypertext Preprocessor (the name being a recursive acronym) is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. As a general-purpose programming language, PHP code is processed by an interpreter application in command-line mode performing desired operating system operations and producing program output on its standard output channel. It may also function as a graphical application. PHP is available as a processor for most modern web servers and as standalone interpreter on most operating systems and computing platforms. PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous development ever since. The main implementation of PHP is now produced by The PHP Group and serves as the de facto standard for PHP as there is no formal specification. PHP is free software released under the PHP License, which is incompatible with the GNU General Public License (GPL) because restrictions exist regarding the use of the term PHP.
Security The National Vulnerability Database stores all vulnerabilities found in computer software. The overall proportion of PHP-related vulnerabilities on the database amounted to: 20% in 2004, 28% in 2005, 43% in 2006, 36% in 2007, 35% in 2008, and 30% in 2009. Most of these PHPrelated vulnerabilities can be exploited remotely: they allow hackers to steal or destroy data from data sources linked to the webserver (such as an SQL database), send spam or contribute to DoS attacks using malware, which itself can be installed on the vulnerable servers. These vulnerabilities are caused mostly by not following best practice programming rules: technical security flaws of the language itself or of its core libraries are not frequent (23 in 2008, about 1% of the total). Recognizing that programmers cannot be trusted, some languages include taint checking to detect automatically the lack of input validation which induces many issues. Such a feature is being developed for PHP, but its inclusion in a release has been rejected several times in the past. 38
Hosting PHP applications on a server requires a careful and constant attention to deal with these security risks. There are advanced protection patches such as Suhosin and Hardening-Patch, especially designed for web hosting environments.
Speed optimization As with any interpreted language, PHP scripts are stored as human-readable source code and are compiled on-the-fly by the PHP engine. In order to speed up execution time and not have to compile the PHP source code every time the webpage is accessed, PHP scripts can also be stored in binary format using PHP compilers such as phc and roadsend. Code optimizers aim to reduce the runtime of the compiled code by reducing its size and making other changes that can reduce the execution time with the goal of improving performance. The nature of the PHP compiler is such that there are often opportunities for code optimization, and an example of a code optimizer is the eAccelerator PHP extension. Another approach for reducing overhead for high load PHP servers is using an Opcode cache. Opcode caches work by caching the compiled form of a PHP script (opcodes) in shared memory to avoid the overhead of parsing and compiling the code every time the script runs.
Resources PHP includes free and open source libraries with the core build. PHP is a fundamentally Internet-aware system with modules built in for accessing FTP servers, many database servers, embedded SQL libraries such as embedded PostgreSQL, MySQL and SQLite, LDAP servers, and others. Many functions familiar to C programmers such as those in the stdio family are available in the standard PHP build. PHP allows developers to write extensions in C to add functionality to the PHP language. These can then be compiled into PHP or loaded dynamically at runtime. Extensions have been written to add support for the Windows API, process management on Unix-like operating systems, multibyte strings (Unicode), cURL, and several popular compression formats. Some more unusual 39
features include integration with Internet Relay Chat, dynamic generation of images and Adobe Flash content, and even speech synthesis. The PHP Extension Community Library (PECL) project is a repository for extensions to the PHP language.
My- SQL MySQL is a relational database management system (RDBMS) 1. That runs as a server providing multi-user access to a number of databases. MySQL is officially pronounced (My S-Q-L), but often pronounced (My SeQueL). 2.
The MySQL development project has made its source code available under
the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL is owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Sun Microsystems, a subsidiary of Oracle Corporation. 3.
Members of the MySQL community have created several forks such as
Drizzle and MariaDB. Both forks were in progress long before the Oracle.
Uses Many web applications use MySQL as the database component of a LAMP software stack. Its popularity for use with web applications is closely tied to the popularity of PHP, which is often combined with MySQL
Platforms and interfaces MySQL code uses C and C++. The SQL parser uses yacc and a home-brewed lexer. It is works on many different system platforms, including AIX, BSDi, FreeBSD, HP-UX, i5/OS, Linux, Mac OS X, NetBSD, Novell NetWare, OpenBSD, OpenSolaris, eComStation, OS/2 Warp, QNX, IRIX, Solaris, Symbian, SunOS, SCO OpenServer and Microsoft Windows. All major programming languages with language-specific APIs include Libraries for accessing MySQL databases. In addition, an ODBC interface called MyODBC allows additional programming languages that support the ODBC interface to communicate with a MySQL database, such as ASP or ColdFusion. The MySQL server and official libraries are mostly implemented in ANSI C &ANSI C++. 40
Database A collection of programs that enables you to store, modify, and extract information from a database. Information of the users gets stored in a relational database. The application works well with MS- Access as database, it also works well with MySQL, SQL Server 2000 and Oracle.
Data Manipulation Language (DML) is used to modify the data present in database: • SELECT - extracts data from a database table • UPDATE - updates data in a database table • DELETE - deletes data from a database table • INSERT INTO - inserts new data into a database table
The Data Definition Language (DDL) is used to define the data: • CREATE TABLE - creates a new database table • ALTER TABLE - alters (changes) a database table • DROP TABLE - deletes a database table • CREATE INDEX - creates an index (search key) • DROP INDEX - deletes an index
Official The official MySQL Workbench is a free integrated environment developed by MySQL AB, that enables users to graphically administer MySQL databases and visually design database structure. MySQL Workbench replaces the previous package of software, MySQL GUI Tools. Similar to other third-party packages but still considered the authoritative MySQL frontend, MySQL Workbench lets users manage the following: 41
• Database design & modeling •
SQL development — replacing MySQL Query Browser
Database administration — replacing MySQL Administrator
In this project, MySQL is used as the backend database. MySQL is an opensource database management system. The features of MySQL are given below
• MySQL is a relational database management system. A relational database stores information in different tables, rather than in one giant table. These tables can be referenced to each other, to access and maintain data easily. • MySQL is open source database system. The database software can be used and modify by anyone according to their needs. • It is fast, reliable and easy to use. To improve the performance, MySQL is multithreaded database engine. A multithreaded application performs many tasks at the same time as if multiple instances of that application were running simultaneously.
In being multithreaded MySQL has many advantages. A separate thread handles each incoming connection with an extra thread that is always running to manage the connections. Multiple clients can perform read operations simultaneously, but while writing, only hold up another client that needs access to the data being updated. Even though the threads share the same process space, they execute individually and because of this separation, multiprocessor machines can spread the thread across many CPUs as long as the host operating system supports multiple CPUs. Multithreading is the key feature to support MySQL’s performance design goals. It is the core feature around which MySQL is built.