Lab 04. Access Control | Báo cáo thực hành Môn An toàn thông tin Trường đại học sư phạm kỹ thuật TP. Hồ Chí Minh

Access control refers to the ability of a user to access a particular object and possibly modify it. In terms of operating systems, access control refers to the ability of a user to read, write or execute a certain file or folder. In this lab, you shall study the access control framework for Microsoft Windows and UNIX-based platforms. Tài liệu giúp bạn tham khảo, ôn tập và đạt kết quả cao. Mời bạn đọc đón xem!

TRƯỜNG ĐẠI HỌC SƯ PHẠM KỸ THUÂT TP.HỒ CH MINH
KHOA CÔNG NGHỆ THÔNG TIN




BÁO CÁO BÀI THỰC HÀNH(LAB)
Môn học: AN TOÀN THÔNG TIN
Mã lớp học phần: INSE330380_22_1_07
GVHD:TS. Huỳnh Nguyên Chính
Sinh viên thực hiện: Mai Bảo Huy - 20110649
TP Hồ Chí Minh, tháng 09 năm 2022
Lab 04. Access Control
Access control refers to the ability of a user to access a particular object and possibly
modify it. In terms of operating systems, access control refers to the ability of a user to
read, write or execute a certain file or folder. In this lab, you shall study the access control
framework for Microsoft Windows and UNIX-based platforms.
Submission:
You will compose a lab report that documents each step you take, including screenshots to illustrate the
effects of commands you type, and describing your observations. Simply attaching code without any
explanation will not receive credits
Time duration: 1 week
1. Use the command on Linuxchmod
: Set-UID, : Set-GID, : stickysu sg t
- Some options of the chmod command:
$chmod u+w = add write to *user*
$chmod g-rw = remove read and write from *group*
$chmod o-rwx = remove read, write and execute from *other*
$chmod a+w = add write to *all*
$chmod a-wx = remove write and execute from *all*
$ chmod 755 myfolder-R
Note: . -R It allows you to modify objects , changing permissions on all recursively
objects in a directory and its subdirectories
- Linux file system permissions:
o Create 3 users
o Create 3 (files or folders)
o Use the chmod command to change the permissions on these files or folders
- Tạo 3 người dùng
- Tạo 3 file
Phân quyền cho các file bằng 1 số lệnh chmod:
Xem quyền của các file đã tạo và sau khi phân quyền
2. Use the on WindowsNTFS permission
- Create 3 users: Alice, John, Julie
- Create folder: Data
- Permissions:
o Alice has full permissions on the folder Data
o John has only read permissions on the folder Data
o Julie has no permissions on the folder Data
- Verify the configuration
Account Alice:
Account John
Account Julie
- Create folder: Data
Vào security để add các account:
- Permissions:
o Alice has full permissions on the folder Data
o John has only read permissions on the folder Data
o Julie has no permissions on the folder Data
- Verify the configuration
| 1/9

Preview text:

TRƯỜNG ĐẠI HỌC SƯ PHẠM KỸ THUÂT TP.HỒ CH MINH
KHOA CÔNG NGHỆ THÔNG TIN 
BÁO CÁO BÀI THỰC HÀNH(LAB)
Môn học: AN TOÀN THÔNG TIN
Mã lớp học phần: INSE330380_22_1_07
GVHD:TS. Huỳnh Nguyên Chính
Sinh viên thực hiện: Mai Bảo Huy - 20110649
TP Hồ Chí Minh, tháng 09 năm 2022 Lab 04. Access Control
Access control refers to the ability of a user to access a particular object and possibly
modify it. In terms of operating systems, access control refers to the ability of a user to
read, write or execute a certain file or folder. In this lab, you shall study the access control
framework for Microsoft Windows and UNIX-based platforms. Submission:
You will compose a lab report that documents each step you take, including screenshots to illustrate the
effects of commands you type, and describing your observations. Simply attaching code without any
explanation will not receive credits Time duration: 1 week
1. Use the chmod command on Linux
su: Set-UID, sg: Set-GID, t: sticky -
Some options of the chmod command:
$chmod u+w = add write to *user*
$chmod g-rw = remove read and write from *group*
$chmod o-rwx = remove read, write and execute from *other*
$chmod a+w = add write to *all*
$chmod a-wx = remove write and execute from *all* $ chmod -R 755 myfolder
Note: -R . It allows you to modify objects recursively, changing permissions on all
objects in a directory and its subdirectories - Linux file system permissions: o Create 3 users o Create 3 (files or folders) o
Use the chmod command to change the permissions on these files or folders - Tạo 3 người dùng - Tạo 3 file
Phân quyền cho các file bằng 1 số lệnh chmod:
Xem quyền của các file đã tạo và sau khi phân quyền
2. Use the NTFS permission on Windows -
Create 3 users: Alice, John, Julie - Create folder: Data - Permissions: o
Alice has full permissions on the folder Data o
John has only read permissions on the folder Data o
Julie has no permissions on the folder Data - Verify the configuration Account Alice: Account John Account Julie - Create folder: Data
Vào security để add các account: - Permissions: o
Alice has full permissions on the folder Data o
John has only read permissions on the folder Data o
Julie has no permissions on the folder Data - Verify the configuration