当前位置:网站首页>文件共享服务器
文件共享服务器
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:文件共享服务
边栏推荐
- 从0使用keil5软件仿真调试GD32F305
- 透过华为军团看科技之变(五):智慧园区
- Tooltips in the era of touch
- Ant s19xp appeared in 140t, why is it called the computing power ceiling by the world
- Foster design method
- mysql数据库基础:视图、变量
- What is the real performance of CK5, the king machine of CKB?
- 程序员需知的 59 个网站
- Gd32 RT thread RTC driver function
- 断路器HystrixCircuitBreaker
猜你喜欢

MySQL advanced SQL statement of database (1)
[email protected]+阿里云+nbiot+dht11+bh1750+土壤湿度传感器+oled"/>技能梳理[email protected]+阿里云+nbiot+dht11+bh1750+土壤湿度传感器+oled

RobotFramework学习笔记:环境安装以及robotframework-browser插件的安装

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

"Kunming City coffee map" was opened again, and coffee brought the city closer

最新SCI影响因子公布:国产期刊最高破46分!网友:算是把IF玩明白了

安徽《合肥市装配式建筑施工图审查设计深度要求》印发;河北衡水市调整装配式建筑预售许可标准

2022 Season 6 perfect children's model toxon division finals came to a successful conclusion

Go -- maximum heap and minimum heap

ArcGIS PRO + PS vectorized land use planning map
随机推荐
Turn to cartoon learning notes
ArcGIS Pro scripting tool (6) -- repairing CAD layer data sources
我在鹅厂淘到了一波“炼丹神器”,开发者快打包
MySQL index, transaction and storage engine of database (2)
Harvester ch1 of CKB and HNS, connection tutorial analysis
ionic4 ion-reorder-group组件拖拽改变item顺序
IPhone address book import into Excel
Dow Jones Industrial Average
Skill combing [email protected] voice module +stm32+nfc
CSDN daily one practice 2021.11.06 question 1 (C language)
Implementation of iterative method for linear equations
Oracle creates a stored procedure successfully, but the compilation fails
The latest SCI impact factor release: the highest score of domestic journals is 46! Netizen: I understand if
2022 Season 6 perfect children's model toxon division finals came to a successful conclusion
Deployment of efficient and versatile clusters lvs+kept highly available clusters
WGet -- 404 not found due to spaces in URL
The programmer was beaten.
Why can't you rob scientists of NFT
【Rust日报】2021-01-23 几个新库发布
Use keil5 software to simulate and debug gd32f305 from 0