Title | Cloud Computing Mini project |
---|---|
Author | Saurabh Nawale |
Course | Production Engineering |
Institution | All India Shri Shivaji Memorial Society's College of Engineering |
Pages | 28 |
File Size | 792.4 KB |
File Type | |
Total Downloads | 41 |
Total Views | 887 |
CLOUD COMPUTING MINI PROJECT REPORT ON“SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION”BYMS. Tanjila Momin ERP Roll NO. 35 MS. Ketaki Upare ERP Roll NO. 65 MR. Kanaad Rampurkar ERP Roll NO. 32DEPARTMENT OF COMPUTER ENGINEERINGALL INDIA SHRI SHIVAJI MEOMRIAL SOCIETY’SINSTITUT...
CLOUD COMPUTING MINI PROJECT REPORT ON
“SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION” BY MS. Tanjila Momin MS. Ketaki Upare MR. Kanaad Rampurkar
ERP
Roll
NO.
35
ERP
Roll
NO.
65
ERP Roll NO. 32
DEPARTMENT OF COMPUTER ENGINEERING ALL INDIA SHRI SHIVAJI MEOMRIAL SOCIETY’S
INSTITUTE OF INFORMATION TECHNOLOGY PUNE 411041
SAVITRIBAI PHULE PUNE UNIVERSITY
2020-2021
Department of Computer Engineering CERTIFICATE
We
Tanjila Momin, Ketaki Upare, Kanaad Rampurkar of
BE-II ERP Roll No. 35, 65, 32 resp. Have done
“SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION” at All India Shri Shivaji Memorial Society’s Institute of Information Technology, Pune in the partial fulfillment of the Bachelors Degree in Computer Engineering
Prof. Pradnya Ghulane Zaware Internal Guide
Dr. S.N Head of the Department Computer Engineering
Place: PUNE college Date:
Seal/Stamp of the
ABSTRACT
In recent times, the concept of Cloud Computing has gained immense popularity and momentum.
Simply put, cloud computing is the
delivery of computing ser- vices—including servers, storage, databases, networking, software, analytics, and in- telligence—over the Internet (“the cloud”) to offer faster innovation, flexible resources, and economies of scale. You typically pay only for cloud services you use, helping lower your operating costs, run your infrastructure more efficiently and scale as your business needs change. The main pillars of cloud computing are : Storage, Compute, and Networking. Out of these, Data storage in particular, is a very important and valuable research field in cloud computing. Cloud storage security is now hugely pop- ular. A recent survey showed that 95% of IT professionals are using cloud storage. This is not just a tech fad, it’s here to stay. That number is expected to continue to grow rapidly. Storing, organizing, and accessing your digital files, photos, and videos in a central and secure storage space can be challenging. It’s often difficult to store documents efficiently without taking up vast amounts of physical space for records storage or using valuable resources for records management. As a result, document management systems have moved online to cloud file storage systems that also include document scanning tools and built-in document retention features. With more people i
opting to go paperless or work exclusively in the cloud, online document storage can be the solution that provides you with organized, accessible files anywhere you are. In this Mini-Project, we have implemented a local file storage system that acts as a cloud to store documents, images, videos files, audio files, etc on the local server. It is implemented as a secure file storage system with the help of UUID encryption in Django.
ii
ACKNOWLEDGEMENT
There is always a sense of gratitude which people express towards other for their help and supervision in achieving the goals. This formal piece of acknowledgement is an attempt to express the feeling of gratitude towards people who helped us in successfully completing our mini project. We would like to express my deepest grat- itude to Prof. Pradnya Ghulane and Prof. Amrapali Chavan - our guides - for their constant
co-operation.They
were
always
there
with
competent
guidance and valuable suggestions throughout the pursuance of this presentation. We would also like to appreciate all the respondents and group members
whose
responses
and
coordination
were
of
utmost
importance and who helped us a lot in the collection necessary information. Above all no words can express our feelings to our parents,friends and all those people who supported us during the course of our mini project.
iii
Chapter 1 INTRODUCTION
Cloud computing arises from the combination of the traditional computer computing,
technol-
ogy
distributed
and
network
computing,
technology, such
parallel
computing,
as
grid utility
computing, virtualization. One of the core concept of cloud computing is reducing the processing burden on user’s terminals through continuously enhancing the clouds’ handling capacity. Eventually user’s terminals are simplified into a simple input and output devices. Users can use the powerful computing and processing function on clouds and they can order their service from the cloud accord- ing to their own needs. Cloud storage is a system that provides functions such as data storage and business access. It assembles a large number of different types of storage devices through the application software which are based on the functions of the cluster applications, grid techniques, distributed file systems, etc. Cloud storage can be simply understood as the storage in cloud computing, and also can be considered to be a cloud comput- ing system equipped with large capacity storage. Cloud storage system architecture mainly includes storage layer, basic 1
management layer, application interface layer and access layer.
1.1
Benefits of Cloud Storage Security
1. Data Encryption: Data you store on a cloud can be encrypted either before or after you send it, providing added protection. This means that your data can only be accessed by the people you want it to, even if your device is stolen. Your privacy is completely protected and you don’t need to worry about your data being stolen or sold off.
1
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
2. Having a Back-Up: risky. If
Storing all your data on one server is very
it fails for any reason, you could lose everything in an
instant. Clouds are backed up to multiple servers, so you never need to worry about losing the information you keep on them. If one server crashes, your data will still be safely stored in multiple other locations. This significantly reduces the risk of data loss. Hardware
failure
and
technical
glitches
are
completely
unpredictable, and there’s no reason to leave yourself vulnerable to them when there’s cloud storage available. 3. Protect
Against
Hackers and
Malware:
According
to
Duke
University, 80% of all US companies have suffered from some kind of hacking, so failing to protect yourself from the possibility is extremely dangerous. However, hacking isn’t your only concern. Your company could also suffer data loss as a result of a server failure or human error.With cloud storage, you’re protected from all of those things. 4. Save Money: Cloud storage is not only safe and secure, it’s also cost-effective. Switching to cloud storage could save you a considerable about of money. Over- heads reduce as it reduces the need for power and staff to support in-house servers. Overall, your storage costs could drop by up to 87%. 5. Easier to Share and Access Files: Along with cloud storage security advan- tages, this is one of the top reasons why everyone is using clouds. Some cloud systems also allow real-time collaboration, so more than one person can make changes to a file at any one time. This is perfect for project management and teamwork scenarios. 6. It’s Organized: You can control what information is stored and
how. Within the cloud, you can create folders to organize your information in a way that suits you. That way, it’s easy for you to navigate and access.
2
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune. 2020-2021
Chapter PROBLEM DEFINITION
Setup your own cloud for Software as a Service (SaaS) over the existing LAN in your laboratory. In this assignment you have to write your own code for cloud controller using open source technologies without HDFS. Implement the basic operations may be like to upload and download file on/from cloud in encrypted form.
3
Chapter SOFTWARE REQUIREMENTS
VS-Code: Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.JS and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity). OS: Windows 7/8/10, MacOS, Linux or Unix system Frameworks and Languages: – Frontend: HTML, CSS – Backend: Python, Django, UUID Internet Browsers: Google Chrome / Mozilla Firefox
4
Chapter METHODOLOGY
For our Mini Project, we have made a WebApp using HTML5, CSS, Python, Django. Additionally, we have also made use of the UUID module in Python for the purpose of security and privacy. The WebApp provides a GUI where the user can view the Dashboard where all the files are to be uploaded and downloaded from.
4.1
Functionality
This WebApp performs the following functions: 1.Upload Files: When a user wants to upload a file, they have to click on the ’Upload’ option, after which they can select a file of their choice(Document, Audio, Video, Image, etc) and give the file a new name by which they want to store on the server. After clicking on Submit, a unique security key for that file is generated. The user should take note of this key, as without entering this key in the future, they cannot view/download that particular file. 2.Download Files: When a user wants to download a file enlisted on the server, they 5
Chapter must click on the ’Download’ option, after which they will be presented with a text area wherein they would have to enter the unique security that was alloted to that file. Upon successfully entering the right key, the file gets downloaded, else they get ’Credentials did not match’ error.
6
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
4.2
Where the file is getting stored
In order to save the uploaded files, the data needs to be stored somewhere. By default, if an uploaded file is smaller than 2.5 megabytes, Django will hold the entire contents of the upload in memory. This means that saving the file involves only a read from memory and a write to disk and thus is very fast. However, if an uploaded file is too large, Django will write the uploaded file to a temporary file stored in your system’s temporary directory.
4.3
How the security key is generated
UUID, Universal Unique Identifier, is a python library which helps in generating random objects of 128 bits as ids. This module provides immutable UUID objects (the UUID class) and the functions uuid1(), uuid3(), uuid4(), uuid5() for generating version 1, 3, 4, and 5 UUIDs as specified in RFC 4122. If all you want is a unique ID, you should probably call uuid1() or uuid4(). uuid1() may compromise privacy since it creates a UUID containing the computer’s network address. uuid4() creates a random UUID. Which is why we use uuid4() for this project, as it is much more secure.
6
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune. 2020-2021
Chapter 5 IMPLEMENTATION AND OUTPUT
We have implemented the Mini-Project as demonstrated in the following steps:
5.1 1.
File Upload Click on the blue ‘Upload’ button.
2.A sidebar where the option of choosing the file to be uploaded will pop-up. Click on ‘Browse’ to select the file that is to be uploaded.
7
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
3.
Select the file to be uploaded from your local computer.
8
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
4.
Rename the file for security purposes.
9
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
5.A message will pop-up saying that the file has been uploaded successfully, and this pop-up will also contain the unique security key for the file.
10
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
11
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
6.Since it is only a one-time flash message, upon reloading, the key will disappear.
12
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
5.2
File Download
1. Click on ‘Download’ button adjacent to the file you would like to
download. A sidebar will popup where the the dedicated security key of the respective file is to be entered in order to download it.
2. If the user enters the incorrect key, a message will pop-up
saying ‘Credentials did not match’.
13
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
3. When the user enters the security key of the file correctly, you
14
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
get the message ‘Your File is getting Downloaded. Click here.’
15
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
SECURE UPLOAD AND DOWNLOAD OF FILES ON LOCAL SERVER WITH UUID ENCRYPTION
4.
When the user click on ‘Click Here’, the file gets downloaded successfully.
16
Department of Computer Engineering, AISSMS’s Institute of Information Technology, Pune.
Chapter CONCLUSION
Thus we have demonstrated how we can set up a cloud on the local server by using Python, Django, HTML5, and CSS by creating a file storage web application that has the functionality to upload and download files securely by leveraging UUID encryption provided by the UUID library, executed in the Django Framework.
14
Bibliography
[1]
https://www.researchgate.net/publication/257723864 Research on
Cloud Data Storage Techno [2]
https://www.hubstor.net/
blog/cloud-storage-security-important/ [3]https://azure.microsoft.com/en-in/overview/what-iscloud-computing/ [4]https://www.dropbox.com/features/cloudstorage/document-storage [5]https://en.wikipedia.org/wiki/Cloud
computing
[6]https://docs.python.org/2/library/uuid.html
15...