0% found this document useful (0 votes)
46 views13 pages

Rahulsirlab

The document provides a lab report on IT Ethics and CyberSecurity, detailing procedures for closing TCP ports in Windows Firewall and securely sharing files and folders in a Windows network. It outlines step-by-step instructions for configuring inbound and outbound rules in the firewall, as well as creating user accounts and shared folders with appropriate permissions. The report emphasizes the importance of network security and proper user management to prevent unauthorized access.

Uploaded by

San Gam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views13 pages

Rahulsirlab

The document provides a lab report on IT Ethics and CyberSecurity, detailing procedures for closing TCP ports in Windows Firewall and securely sharing files and folders in a Windows network. It outlines step-by-step instructions for configuring inbound and outbound rules in the firewall, as well as creating user accounts and shared folders with appropriate permissions. The report emphasizes the importance of network security and proper user management to prevent unauthorized access.

Uploaded by

San Gam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Oxford College

(Affiliated to Tribhuvan University)


Sukkhanagar, Butwal, Rupandehi

LAB REPORT
Course Code: IT 246
IT Ethics and CyberSecurity
Year: 2081

Submitted By: Submitted To:


Sangam Thapa Rahul Shakya
Lab 1:Close TCP Ports in Windows Firewall
A firewall is a vital component for securing your network, and Windows Firewall
offers robust features to manage incoming and outgoing traffic.
Here's how we can close TCP ports using Windows Firewall:
When in the ‘Advanced Settings’ of Windows 10 firewall, click the Advanced
settings link in the left-hand pane of the main firewall dialog. This will bring up
the Windows Firewall with Advanced Security window.

Now, if we can see the firewall window shows a list of rules on the left side. From
the list, select Inbound Rules to display the inbound rules section.

Inbound Rule:
1. Right-click on "Inbound Rules" in the left pane and select "New Rule."

2. Choose "Port" as the rule type and click Next.

3. Select TCP, enter the port number (e.g., 80, 443), and click Next.
4. Choose "Block the connection" and click Next.

5. Check all profiles (Domain, Private, Public) and click Next.


6. Provide a name for the rule and click Finish.

Now we can see the “tcpblock” on the Inbound Rules displaying list.
Outbound Rule:

1. Right-click on "Outbound Rules" in the left pane and select "New Rule."

2. Follow steps 3 to 6 from the Inbound Rule section, specifying TCP ports to
block outgoing connections.

Now we can see the “tcpblock” on the Inbound Rules displaying list.
Output:
The output from the “Test-NetConnection” cmdlet in Windows PowerShell
provides information about the network connection tests performed on the
specified remote computer (portquiz.net) and ports (443 and 80).
For the test on port 443 the connection to “portquiz.net” on port 443 was
successful.

 The “TcpTestSucceeded” property is “True”, indicating that the TCP connection test
succeeded without any issues.
For the test on port 80 the connection to “portquiz.net” on port 80 failed.

 The “PingSucceeded” property is “True”, indicating that the server responded to the
ICMP ping request.
 The “TcpTestSucceeded” property is “False”, indicating that the TCP connection test
failed, likely due to a firewall or network configuration issue blocking traffic on port 80.
By following these steps, we can effectively block TCP ports using Windows
Firewall, enhancing your network security. Remember to delete the firewall rules
to reopen the ports when necessary.

Lab 2: Securely Sharing Files and Folders in a Windows Network


In a networked environment, sharing files and folders requires careful
consideration of permissions to ensure security.
We have to follow these steps to securely share files and folders with others on
our network:
Step 1: Create User Accounts
To enhance security, it's advisable not to use administrative accounts for
everyday tasks like file sharing. Administrative accounts have elevated
privileges, and using them unnecessarily increases the risk of unintentional
system changes or malicious activity. Instead, create standard user accounts for
everyday use.

 Create a new user (e.g., username: "vishal”).

Creating non-administrative user accounts helps maintain the security and


integrity of the system by limiting access to sensitive system resources and
reducing the likelihood of unauthorized changes.

After Creating the New Account, Log in to that Account and Proceed to Step 2.

Step 2: Create a Shared Folder


1. Log in to the newly created user account (e.g., "vishal").
2. Navigate to the drive where you want to create the shared folder (e.g., F
drive).
3. Right-click inside the drive and select “New” > “Folder”.
4. Name the new folder (e.g., “test1”) and press “Enter”.
5. Create files within the folder that needed to share on network.
6. Right-click on the folder, select “Properties”, and navigate to the “Sharing”
tab.

5. Click “Advanced Sharing” and then “Permissions”.

6. Click “Add” to add the previously created users, click “Check Names”, and
then “OK”.
7. Click “Apply”.

Step 3: Set Security Permissions


1. In the folder properties window, navigate to the “Security” tab.
2. Select the user whose sharing permissions you want to modify and choose
“Edit”.

3. Add the previously created users.

4. Click “OK” twice to exit.


Accessing Shared Files:

1. Enter the IP address of the device containing the shared folder in.

2. Enter the username and password of the device.


3. After authentication, the shared folders will be displayed.

4. Click on the desired folder to access the shared files.


5. Access the shared text files and other content as needed.

By following these steps, you can securely share files and folders within your
Windows 10 network, ensuring that only authorized users have access to your
shared resources.

You might also like