当前位置:网站首页>文件共享服务器
文件共享服务器
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:文件共享服务
边栏推荐
- The performance of arm's new CPU has been improved by 22%, up to 12 cores can be combined, and the GPU is first equipped with hardware optical tracking. Netizen: the gap with apple is growing
- Node environment configuration
- Basic MySQL operation commands of database
- 超长干货 | Kubernetes命名空间详解
- South China Industrial Group launched digital economy and successfully held the city chain technology conference
- GD32 RT-Thread DAC驱动函数
- CVPR 2022 | 清华&字节&京东提出BrT:用于视觉和点云3D目标检测的桥接Transformer
- What is the real performance of CK5, the king machine of CKB?
- ArcGIS Pro scripting tool (5) - delete duplicates after sorting
- CVPR 2022 | Tsinghua & bytek & JD put forward BRT: Bridging Transformer for vision and point cloud 3D target detection
猜你喜欢

Google 辟谣放弃 TensorFlow,它还活着!

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

Overview of currency

MATLAB image histogram equalization, namely spatial filtering

MySQL index, transaction and storage engine of database (2)
[email protected] intelligent instrument teaching aids based on 51 series single chip microcomputer"/>Skill combing [email protected] intelligent instrument teaching aids based on 51 series single chip microcomputer
[email protected]+adxl345+电机震动+串口输出"/>技能梳理[email protected]+adxl345+电机震动+串口输出

Xinguan has no lover, and all the people benefit from loving deeds to warm the world -- donation to the public welfare action of Shangqiu children's welfare home

IPhone address book import into Excel

Eth is not connected to the ore pool
随机推荐
微信推出图片大爆炸功能;苹果自研 5G 芯片或已失败;微软解决导致 Edge 停止响应的 bug|极客头条...
WGet -- 404 not found due to spaces in URL
TypeScript–es5中的类,继承,静态方法
历史上的今天:微软收购 PowerPoint 开发商;SGI 和 MIPS 合并
How to deploy deflationary combustion destruction contract code in BSC chain_ Deploy dividend and marketing wallet contract code
mysql数据库基础:存储过程和函数
Guolin was crowned the third place of global popularity of perfect master in the third quarter of 2022
技能梳理[email protected]+阿里云+nbiot+dht11+bh1750+土壤湿度传感器+oled
MySQL log management, backup and recovery of databases (1)
[deep learning] common methods for deep learning to detect small targets
最新SCI影响因子公布:国产期刊最高破46分!网友:算是把IF玩明白了
"Hackers and painters" -- why not be stupid
Jump table introduction
MySQL log management, backup and recovery of databases (2)
Test memory read rate
What is the real performance of CK5, the king machine of CKB?
scratch绘制正方形 电子学会图形化编程scratch等级考试二级真题和答案解析2022年6月
Harvester ch1 of CKB and HNS, connection tutorial analysis
CSDN daily one practice 2021.11.06 question 1 (C language)
SGD有多种改进的形式,为什么大多数论文中仍然用SGD?