-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathUpload.jsp
172 lines (164 loc) · 7.71 KB
/
Upload.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SHEDS: A Simple and Secure Cost Efficient Data Storage in Heterogeneous Multiple Cloud </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
<style type="text/css">
<!--
.style1 {color: #FF6666}
.style2 {color: #0000FF}
.style3 {color: #00FF00}
-->
</style>
<script language="javascript" type='text/javascript'>
function loadFileAsText()
{
var fileToLoad = document.getElementById("file").files[0];
var fileReader = new FileReader();
fileReader.onload = function(fileLoadedEvent)
{
var textFromFileLoaded = fileLoadedEvent.target.result;
document.getElementById("textarea").value = textFromFileLoaded;
};
fileReader.readAsText(fileToLoad, "UTF-8");
}
</script>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html">SHEDS</span> <small>A Simple and Secure Cost Efficient Data Storage in Heterogeneous Multiple Cloud </small></a></h1>
</div>
<div class="clr"></div>
<div class="menu_nav">
<ul>
<li ><a href="index.html"><span>Home Page</span></a></li>
<li class="active"><a href="DataOwner.html"><span>Data Owner </span></a></li>
<li><a href="ProxyServer.html"><span>Proxy Server</span></a></li>
<li><a href="CloudServer.html"><span>CloudServer</span></a></li>
<li><a href="EndUser.html"><span>EndUser</span></a></li>
</ul>
</div>
<div class="clr"></div>
<div class="slider">
<div id="coin-slider"> <a href="#"><img src="images/slide1.jpg" width="960" height="313" alt="" /> </a> <a href="#"><img src="images/slide2.jpg" width="960" height="313" alt="" /> </a> <a href="#"><img src="images/slide3.jpg" width="960" height="313" alt="" /> </a> </div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="content">
<div class="content_resize">
<div class="mainbar">
<div class="article">
<h2>Upload Data </h2>
<form id="form1" name="form1" method="post" action="Upload1.jsp">
<table width="598" border="1" align="center">
<tr>
<td width="286"><span class="style4">Select File :- </span></td>
<td width="356"><input required="required" type="file" name="t42" id="file" onchange="loadFileAsText()" /></td>
</tr>
<tr>
<td class="style4">File Name :- </td>
<td><input required="required" name="tt" type="text" id="t42" size="50"/></td>
</tr>
<tr>
<td> </td>
<td><textarea name="text" id="textarea" cols="50" rows="15"></textarea></td>
</tr>
<tr>
<td><span class="style4">MAC :- </span></td>
<td><input name="t4" type="text" id="t4" size="50" value="" readonly="readonly" /></td>
</tr>
<tr>
<td><div align="right"></div></td>
<td><input type="submit" name="Submit" value="Encrypt" /></td>
</tr>
</table>
</form>
</div>
</div>
<div class="sidebar">
<div class="searchform">
<form id="formsearch" name="formsearch" method="post" action="#">
<span>
<input name="editbox_search" class="editbox_search" id="editbox_search" maxlength="80" value="Search our ste:" type="text" />
</span>
<input name="button_search" src="images/search.gif" class="button_search" type="image" />
</form>
</div>
<div class="clr"></div>
<div class="gadget">
<h2 class="star"><span>Owner Menu</span></h2>
<div class="clr"></div>
<ul class="sb_menu">
<li><a href="GetCloudCost.jsp">Find Cost and Memory</a></li>
<li><a href="PurchaseVm.jsp">Purchase VM</a></li>
<li><a href="Vmdetails.jsp">My VM Details</a></li>
<li><a href="Upload.jsp">Upload</a></li>
<li><a href="Verify.jsp">Verify</a></li>
<li><a href="Migrate.jsp">Migrate</a></li>
<li><a href="VReq.jsp">View Request</a></li>
<li><a href="ViewOwnerDetails.jsp">View Owner Files </a></li>
<li><a href="index.html">Log Out</a></li>
</ul>
</div>
<div class="gadget">
<h2 class="star"><span>SHEDS Menu </span></h2>
<div class="clr"></div>
<ul class="ex_menu">
<li><a href="http://www.dreamtemplate.com/">Pricing Models of Mainstream Clouds</a><br />
</li>
<li><a href="http://www.templatesold.com/">Erasure coding</a></li>
<li><a href="http://www.imhosted.com/">Combining Replication and Erasure Coding</a><br />
</li>
<li><a href="http://www.megastockphotos.com/">Comparison of Data Hosting Modes</a><br />
</li>
</ul>
</div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="fbg">
<div class="fbg_resize">
<div class="col c1">
<h2><span>Image</span> Gallery</h2>
<a href="#"><img src="images/gal1.jpg" width="75" height="75" alt="" class="gal" /></a> <a href="#"><img src="images/gal2.jpg" width="75" height="75" alt="" class="gal" /></a> <a href="#"><img src="images/gal3.jpg" width="75" height="75" alt="" class="gal" /></a> <a href="#"><img src="images/gal4.jpg" width="75" height="75" alt="" class="gal" /></a> <a href="#"><img src="images/gal5.jpg" width="75" height="75" alt="" class="gal" /></a> <a href="#"><img src="images/gal6.jpg" width="75" height="75" alt="" class="gal" /></a> </div>
<div class="col c2">
<h2><span>Multi-cloud data hosting</span></h2>
<p align="justify">Multi-cloud data hosting received wide ttention from researchers, customers, and . The basic principle of multi-cloud (data hosting) is distribute data across multiple clouds to gain enhanced redundancy and prevent the vendor lock-in risk, as shownThe potential prevalence of multi-cloud is illustrated in three<br />
folds. First, there have been a few researches conducted on multi-cloud. DepSky guarantees data availability and security on multiple clouds.</p>
</div>
<div class="col c3">
<h2><span>Vendor lock-in risk</span></h2>
<p>Facing numerous cloud vendors as well
as their heterogenous performances/policies, customers may
be perplexed with which cloud(s) are suitable for storing their
data and what hosting strategy is cheaper.</p>
<p>The general status
quo is that customers usually put their data into a single cloud
and then simply trust to luck.</p>
</div>
<div class="clr"></div>
</div>
</div>
<div class="footer">
<div class="footer_resize">
<p class="lf"></p>
<p class="rf"></p>
<div style="clear:both;"></div>
</div>
</div>
</div>
<div align=center></div></body>
</html>