当前位置:网站首页>文件共享服务器
文件共享服务器
2022-06-30 10:03:00 【梁辰兴】
一,共享服务器概述(cifs)
通过网络提供文件共享服务,提供文件下载和上传服务(类似于ftp服务器)
二,创建共享
方法:文件夹右键属性 – 共享 – 开启共享 – 设置共享名 – 设置共享权限
注:
(1)在本地登录时,只受ntfs权限的影响。
(2)在远程登录时,将受共享及ntfs权限的共同影响,且取交集!
(3)所以建议设置共享权限为everyone完全控制,然后具体的权限需求在ntfs权限中设置即可。
三,访问共享
在开始运行/我的电脑地址栏中,输入UNC地址
\文件共享服务器IP
\文件共享服务器IP\共享名
选择题:
服务器上有某文件夹:d:\feifei
服务器IP:10.1.1.1
共享名:f
以下哪种方式可以正常访问该共享:(D)。
A.\10.1.1.1\d\feifei
B.\10.1.1.1\feifei
C.\10.1.1.1\d\f
D.\10.1.1.1\f
案例:
1.开两台虚拟机,并且互相ping通。
2.设置2003为共享服务器,并在客户机上可以访问共享,要求aa账户只能下载,bb账户只能上传,cc账户可以上传、下载和删除。
四,创建隐藏的共享
方法:共享名$
五,访问隐藏共享的方法
\服务器IP\共享名$
六,共享相关命令
net user
net localgroup #
net share #列出共享列表
net share 共享名 /del #删除共享
重启命令:shutdown -r -f -t 0
七,屏蔽系统隐藏共享自动产生
(1)打开注册表
打开注册表编辑器,运行栏输入:regedit
(2)定位共享注册表位置
计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\右键新建类型为 REG_DWORD 的 AutoShareServer 键,值为0。
八,查看本地网络连接状态
查看本地开放端口:netstat -an
九,关闭445服务
可以通过关闭445端口来屏蔽病毒传入(如勒索病毒等)。
方法1:运行栏输入:services.msc,并停止及禁用server服务。

方法2:禁止被访问445,配置高级安全防火墙 – 入站规则(在win7及以上系统,win2008以上系统)。
注:
3389:远程桌面服务
23:Telnet协议
445:文件共享服务
边栏推荐
- CVPR 2022 | 清华&字节&京东提出BrT:用于视觉和点云3D目标检测的桥接Transformer
- & and - > priority
- 滴滴开源敏捷测试用例管理平台!
- nvm、nrm、npx使用(安装、基本命令、参数、curl、wget)
- The human agent of kDa, Jinbei kd6, takes you to explore the metauniverse
- Highlight display of Jinbei LB box, adhering to mini special effects
- 技能梳理[email protected]基于51系列单片机的智能仪器教具
- Google 辟谣放弃 TensorFlow,它还活着!
- Circuit breaker hystrixcircuitbreaker
- 马斯克推特粉丝过亿了,但他在线失联已一周
猜你喜欢

Harvester ch1 of CKB and HNS, connection tutorial analysis

The famous painter shiguoliang's "harvest season" digital collection was launched on the Great Wall Digital Art

MySQL log management, backup and recovery of databases (1)

Guolin was crowned the third place of global popularity of perfect master in the third quarter of 2022

CVPR 2022 | 清华&字节&京东提出BrT:用于视觉和点云3D目标检测的桥接Transformer

Kernel linked list (general linked list) "list.h" simple version and individual comments

吴恩达2022机器学习专项课测评来了!

Chen Haotian won the national championship of the national finals of the 7th children's model star ceremony

"Kunming City coffee map" activity was launched again

Google 辟谣放弃 TensorFlow,它还活着!
随机推荐
技能梳理[email protected]在oled上控制一条狗的奔跑
MySQL index, transaction and storage engine of database (1)
Leetcode question brushing (III) -- binary search (go Implementation)
Splendid China: public welfare tourism for the middle-aged and the elderly - entering Foshan nursing home
Skill combing [email protected] somatosensory manipulator
MATLAB image histogram equalization, namely spatial filtering
ionic4 ion-reorder-group组件拖拽改变item顺序
Es common curl finishing
June training (day 30) - topology sorting
ArcGIS Pro scripting tool (5) - delete duplicates after sorting
Compétences Comb 27 @ Body sense Manipulator
Leetcode question brushing (IV) -- greedy thought (go Implementation)
Enter the world of helium (hNT) hotspot servers to bring you different benefits
Android 开发面试真题进阶版(附答案解析)
Leetcode question brushing (II) -- sorting (go Implementation)
Gd32 RT thread ota/bootloader driver function
如何解决跨域
Criu enables hot migration
How to seize the opportunity of NFT's "chaos"?
Foster design method