Documente Academic
Documente Profesional
Documente Cultură
1. ABSTRACT
1
2. EXISTING SYSTEM
Array of Access Control: Defines more relations (all possible) between related
users to overcome problems in access control.
These approaches are in their infancy, however, and it is not clear how
stable they are across time periods are across time periods. Moreover, we wish
to note that access control and role engineering is complicated by the fact that
not all users are equally trustworthy. Based on this observation, there have been
some investigations into combining trust management models with access
control frameworks. These approaches assign users to roles based on their level
of trust. At the present time, there is little evidence regarding how such
2
approaches can be applied in real systems. Yet, there is concern that these models
require complex calculations and may consume more resources than available in
the context of evolving systems.
Disadvantages
3. PROPOSED SYSTEM
Methods: CADS
3
Relational patterns from access logs: A new process is introduced to transform
the access logs of a CIS into dynamic community structures using a combination
of graph-based modeling and dimensionality reduction techniques over the
accessed subjects. The system also illustrates how Meta information, such as the
semantics associated with subjects can be readily integrated into the CADS
framework.
Anomaly detection from relational patterns: It measures the deviation of users
within a CIS from the extracted community structures.
Advantages
4
4. MODULES
Administrator
Storage Manager
Insider
ADMINISTRATOR
Change security
Register Storage Manager
Manage Storage Manager
Create CIS Domain
Track Insider Details
View Storage Managers
Track insider Attacks
Logout
STORAGE MANAGER
Change Password
Authenticate Insiders
View CIS Domain
Upload Sensitive data to CIS domain
View Data files
Track insider Attacks
Logout
5
INSIDER
Change Password
View CIS Domain
View Data files
Access Domain files
Logout
View Domains
View Storage Manger
View Domain capacity
Logout
6
5. HARDWARE & SOFTWARE REQUIREMENTS
Hardware Specification
The hardware for the system is selected considering the factors such as
CPU processing speed, memory access speed, peripheral channel speed, printer
speed; seek time & relational delay of hard disk and communication speed etc.
The hardware specifications are as follows:
Processor : Pentium 4
Monitor Size : Display Panel (1024 x768) preferably
Hard Disk Drive : 40 GB or higher
Keyboard : Standard 103/104 keyboard
RAM : 2GB
Mouse : Logitech Serial Mouse
Software Specification
7
6. SOURCE CODE
CODING
ADMIN LOGIN
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.IO;
}
protected void Button1_Click(object sender, EventArgs e)
{
try
{
dap.Fill(dt);
if (dt.Rows.Count > 0)
{
8
Response.Redirect("ADMINHOME.aspx");
}
else
{
Msgbox("Invalid");
}
}
catch (Exception ex)
{
//Response.Write(ex.Message);
}
}
}
9
for (int i = 0; i <= dt.Rows.Count - 1; i++)
{
DropDownList1.Items.Add(dt.Rows[i][0].ToString());
}
DataTable dt1 = new DataTable();
dt.Rows.Clear();
dap.SelectCommand = new SqlCommand("select * from TBL_RSMANAGER",
con);
dap.Fill(dt);
int n = dt.Rows.Count + 1;
TextBox1.Text = "SIM#0" + n.ToString();
TextBox7.Text = DateTime.Now.ToShortDateString();
}
protected void Button1_Click(object sender, EventArgs e)
{
try
{
string che = @"(select count(*) from TBL_RSMANAGER where
LOGNAME='" + TextBox8.Text + "')";
SqlCommand cmd = new SqlCommand("insert into TBl_RSMANAGER
values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" +
TextBox4.Text + "','" + DropDownList1.SelectedItem.ToString() + "','" +
TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text
+ "','" + TextBox9.Text + "','" + TextBox10.Text + "','0')", con);
con.Open();
SqlCommand cmda = new SqlCommand(che, con);
int count = (int)cmda.ExecuteScalar();
if (count > 0)
{
Msgbox("this is already exists");
}
else
{
cmd.ExecuteNonQuery();
Msgbox("registered");
}
con.Close();
}
catch (Exception ex)
{
Msgbox(ex.Message);
}
finally
{
if (con.State == ConnectionState.Open)
con.Close();
}
10
MANAGE STORAGE MANAGER
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.IO;
11
if(dt1.Rows.Count>0)
{
TextBox1.Text = dt1.Rows[0][1].ToString();
TextBox2.Text = dt1.Rows[0][7].ToString();
TextBox3.Text = dt1.Rows[0][8].ToString();
TextBox4.Text = dt1.Rows[0][6].ToString();
TextBox5.Text = dt1.Rows[0][4].ToString();
}
}
protected void Button4_Click(object sender, EventArgs e)
{
SqlCommand cmd = new SqlCommand("update TBL_RSMANAGER set
STATUS='1' where SIMID='" + DropDownList1.SelectedItem.Text + "'", con);
cmd.CommandType = CommandType.Text;
DataTable dt = new DataTable();
dap.SelectCommand = cmd;
try
{
dap.Fill(dt);
Msgbox("Authorise");
}
catch (Exception ex)
{
//Response.Write(ex.Message);
}
12
UPLOAD FILES
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.IO;
if (Session["NAME"] != null)
{
TextBox2.Text = Session["DOMAIN"].ToString();
TextBox3.Text = Session["NAME"].ToString();
TextBox4.Text = Session["SIMID"].ToString();
}
SqlCommand cmdser = new SqlCommand("select * from TBL_UPLOADFILES
where NAME='"+TextBox3.Text+"'", con);
dap.SelectCommand = cmdser;
DataTable dt = new DataTable();
dap.Fill(dt);
int n = dt.Rows.Count + 1;
TextBox6.Text = "" + n.ToString();
13
{
string str = Path.GetExtension(FileUpload1.FileName);
if (str == ".txt" || str == ".docx")
{
FileUpload1.SaveAs(Server.MapPath("UFILES//" +
FileUpload1.FileName));
try
{
string che = @"(select count (*) from TBL_UPLOADFILES where
FILENAME='" + TextBox1.Text + "')";
SqlCommand cmdins = new SqlCommand("insert into
TBl_UPLOADFILES values('" + TextBox1.Text + "','" + TextBox2.Text + "','" +
TextBox3.Text + "','" + TextBox4.Text + "','" + "UFILES//"+FileUpload1.FileName +
"','" + TextBox5.Text + "','" + TextBox6.Text + "')", con);
con.Open();
SqlCommand cmda = new SqlCommand(che, con);
int count = (int)cmda.ExecuteScalar();
if (count > 0)
{
Msgbox("this file is already exist");
}
else
{
cmdins.ExecuteNonQuery();
Msgbox("FILE UPLOADED");
}
con.Close();
}
catch (Exception ex)
{
Msgbox(ex.Message);
}
finally
{
if (con.State == ConnectionState.Open)
con.Close();
}
}
}
}
}
14
SCREEN SHOT
Home Page
15
Admin Login
16
Manage Storage Manager
17
Track Insider
18
Register Insider
19
View Files
Authenticate Insider
20
Uploading Sensitive data to CIS Domain
Update SD
21
Insider Login
Access Files
22