当前位置:网站首页>文件共享服务器
文件共享服务器
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:文件共享服务
边栏推荐
- 技能梳理[email protected]體感機械臂
- 我在鹅厂淘到了一波“炼丹神器”,开发者快打包
- 潘多拉 IOT 开发板学习(HAL 库)—— 实验1 跑马灯(RGB)实验(学习笔记)
- MySQL index, transaction and storage engine of database (2)
- Ant s19xp appeared in 140t, why is it called the computing power ceiling by the world
- Chen Haotian won the national championship of the national finals of the 7th children's model star ceremony
- Gd32 RT thread PWM drive function
- 六月集训(第30天) —— 拓扑排序
- 半钢同轴射频线的史密斯圆图查看和网络分析仪E5071C的射频线匹配校准
- Highlight display of Jinbei LB box, adhering to mini special effects
猜你喜欢

CSDN博客运营团队2022年H1总结

那个程序员,被打了。

Go -- maximum heap and minimum heap

ArcGIS Pro脚本工具(6)——修复CAD图层数据源

我在鹅厂淘到了一波“炼丹神器”,开发者快打包

Test memory read rate

【深度学习】深度学习检测小目标常用方法

I found a wave of "alchemy artifact" in the goose factory. The developer should pack it quickly
[email protected] control a dog's running on OLED"/>Skill combing [email protected] control a dog's running on OLED

mysql数据库基础:约束、标识列
随机推荐
移植完整版RT-Thread到GD32F4XX(详细)
ArcGIS Pro scripting tool (5) - delete duplicates after sorting
微信推出图片大爆炸功能;苹果自研 5G 芯片或已失败;微软解决导致 Edge 停止响应的 bug|极客头条...
Yixian e-commerce released its first quarterly report: adhere to R & D and brand investment to achieve sustainable and high-quality development
ArcGIS Pro脚本工具(6)——修复CAD图层数据源
GeoffreyHinton:我的五十年深度学习生涯与研究心法
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é
Ant s19xp appeared in 140t, why is it called the computing power ceiling by the world
GD32 RT-Thread OTA/Bootloader驱动函数
逸仙電商發布一季報:堅持研發及品牌投入,實現可持續高質量發展
Deployment of efficient and versatile clusters lvs+kept highly available clusters
Implementation of iterative method for linear equations
Gd32 RT thread DAC driver function
Overview of currency
Gd32 RT thread ota/bootloader driver function
The digital collection of sunanmin's lotus heart clearing was launched on the Great Wall Digital Art
程序员需知的 59 个网站
"Kunming City coffee map" activity was launched again
苹果高管公然“开怼”:三星抄袭 iPhone,只加了个大屏
Gd32 RT thread flash driver function