当前位置:网站首页>文件共享服务器
文件共享服务器
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:文件共享服务
边栏推荐
- WGet -- 404 not found due to spaces in URL
- Chen Haotian won the national championship of the national finals of the 7th children's model star ceremony
- Questions about cookies and sessions
- Tooltips in the era of touch
- 6. Redis new data type
- Musk has more than 100 million twitter fans, but he has been lost online for a week
- Kernel linked list (general linked list) "list.h" simple version and individual comments
- mysql数据库基础:TCL事务控制语言
- CVPR 2022 | Tsinghua & bytek & JD put forward BRT: Bridging Transformer for vision and point cloud 3D target detection
- Who should the newly admitted miners bow to in front of the chip machine and the graphics card machine
猜你喜欢
Migrate full RT thread to gd32f4xx (detailed)
The famous painter shiguoliang's "harvest season" digital collection was launched on the Great Wall Digital Art
Harvester ch1 of CKB and HNS, connection tutorial analysis
【深度学习】深度学习检测小目标常用方法
mysql数据库基础:约束、标识列
The preliminary round of the sixth season of 2022 perfect children's model Hefei competition area was successfully concluded
Why can't you rob scientists of NFT
[email protected] voice module +stm32+nfc"/>
Skill combing [email protected] voice module +stm32+nfc
Yixian e - commerce publie un rapport trimestriel: adhérer à la R & D et à l’investissement de la marque, réaliser un développement durable et de haute qualité
WGet -- 404 not found due to spaces in URL
随机推荐
机器学习面试准备(一)KNN
The AOV function of R language was used for repeated measures ANOVA (one intra group factor and one inter group factor) and interaction Plot function and boxplot to visualize the interaction
Apple's 5g chip was revealed to have failed in research and development, and the QQ password bug caused heated discussion. Wei Lai responded to the short selling rumors. Today, more big news is here
The digital collection of sunanmin's lotus heart clearing was launched on the Great Wall Digital Art
Great Wall digital art digital collection platform releases the creation Badge
马斯克推特粉丝过亿了,但他在线失联已一周
Dow Jones Industrial Average
微信推出图片大爆炸功能;苹果自研 5G 芯片或已失败;微软解决导致 Edge 停止响应的 bug|极客头条...
CVPR 2022 | 清华&字节&京东提出BrT:用于视觉和点云3D目标检测的桥接Transformer
Jump table introduction
Action bright: take good care of children's eyes together -- a summary of the field investigation on the implementation of action bright in Guangxi
nvm、nrm、npx使用(安装、基本命令、参数、curl、wget)
Kernel linked list (general linked list) "list.h" simple version and individual comments
R语言aov函数进行重复测量方差分析(Repeated measures ANOVA、其中一个组内因素和一个组间因素)、分别使用interaction.plot函数和boxplot对交互作用进行可视化
GD32 RT-Thread OTA/Bootloader驱动函数
I found a wave of "alchemy artifact" in the goose factory. The developer should pack it quickly
透過華為軍團看科技之變(五):智慧園區
Go -- standard library sort package
Gd32 RT thread ota/bootloader driver function
TypeScript–es5中的类,继承,静态方法