发新话题
打印

[操作应用] 切断默认共享通道的方法介绍<转贴>

您是第372个浏览者

切断默认共享通道的方法介绍<转贴>

在Windows服务器系统中,每当服务器启动成功时,系统的C盘、D盘等都会被自动设置成隐藏共享,尽管通过这些默认共享可以让服务器管理维护起来更方便一些;但在享受方便的同时,这些默认共享常常会被一些非法攻击者利用,从而容易给服务器造成安全威胁。如果你不想让服务器轻易遭受到非法攻击的话,就必须及时切断服务器的默认共享“通道”。下面,本文就为大家推荐以下几则妙招,以便让你轻松禁止掉服务器的默认共享。+ F* F& g) `5 A. N+ O1 v) T
  功能配置法$ v& A+ l! j6 k% I* }0 V+ H
  这种方法是通过Windows XP或Windows 2003系统中的msconfig命令,来实现切断服务器默认共享“通道”目的的。使用该方法时,可以按照如下步骤来进行:# H9 L  `6 V2 P) x! _
  依次单击“开始”/“运行”命令,在随后出现的系统运行设置框中,输入字符串命令“msconfig”,单击“确定”按钮后,打开一个标题为系统配置实用程序的设置窗口;, o- p% M  J/ P( B% a# G3 N0 Z
  单击该窗口中的“服务”选项卡,在其后打开的如图1所示的选项设置页面中,找到其中的“Server”项目,并检查该项目前面是否有勾号存在,要是有的话必须将其取消掉,最后单击一下“确定”按钮,以后重新启动服务器系统时,服务器的C盘、D盘等就不会被自动设置成默认共享了。' m; w! _/ g3 V. _7 f
  小提示:尽管Windows 2000服务器系统没有系统配置实用程序功能,但考虑到该系统的内核与Windows 2003系统内核比较接近,因此你可以将Windows 2003系统中的msconfig.exe文件和msconfig.chm文件直接复制到Windows 2000系统目录中,以后你也可以在该系统的运行对话框中,直接启动系统配置实用程序功能了。如果在启动该功能的过程中,遇到有错误提示窗口弹出时,你可以不必理会,不停单击“取消”按钮就可以看到系统配置实用程序设置窗口了。7 k: W$ Q7 V& `9 j/ G
  “强行”停止法
& j) i* T: s+ O- }6 L: t6 p' |  所谓“强行”停止法,其实就是借助Windows服务器的计算机管理功能,来对已经存在的默认共享文件夹,“强制”停止共享命令,以便让其共享状态取消,同时确保这些文件夹下次不能被自动设置成共享。在“强行”停止默认共享文件夹的共享状态时,你可以按照下面的步骤来进行:
! r  s7 S6 ]& w+ o  依次单击“开始”/“运行”命令,在打开的系统运行设置框中,输入字符串命令“compmgmt.msc”,单击“确定”按钮后,打开打开Windows服务器系统的“计算机管理”界面;  U# E4 W9 O8 ?# I8 r5 E$ M, f
  在该界面的左侧列表区域中,用鼠标逐一展开“系统工具”、“共享文件夹”、“共享”文件夹,在对应“共享”文件夹右边的子窗口中,你将会发现服务器系统中所有已被共享的文件文件夹都被自动显示出来了,其中共享名称后面带有“$”符号的共享文件夹,就是服务器自动生成的默认共享文件夹;5 B$ Z4 _" Y# w0 |) [. Z
  要取消这些共享文件夹的共享状态,你只要先用鼠标逐一选中它们,然后再用右键单击之,在其后打开的快捷菜单中,选中“停止共享”选项,随后屏幕上将打开一个如图2所示的对话框,要求你确认一下是否真的想停止已经选择的共享,此时你再单击一下“是”按钮,所有选中的默认共享文件夹的共享标志就会自动消失了,这表明它们的共享状态已经被“强行”停止了,以后哪怕是重新启动服务器系统,服务器的C盘、D盘也不会被自动设置成默认共享了。
, F. M7 d  n. {% N: o( E8 v/ j逐一删除法
( Y$ l  C' l, @* a! a: m  s( n  所谓“逐一删除法”,其实就是借助Windows服务器内置的“net share”命令,来将已经处于共享状态的默认共享文件夹,一个一个地删除掉(当然这里的删除,仅仅表示删除默认共享文件夹的共享状态,而不是删除默认文件夹中的内容),但该方法有一个致命的缺陷,就是无法实现“一劳永逸”的删除效果,只要服务器系统重新启动一下,默认共享文件夹又会自动生成了。在使用该方法删除默认共享文件夹的共享状态时,可以参考如下的操作步骤:
( n0 r1 }$ i' U# U' Z1 T  首先在系统的开始菜单中,执行“运行”命令,打开系统运行设置框,在该对话框中输入字符串命令“cmd”后,再单击“确定”按钮,这样Windows服务器系统就会自动切换到DOS命令行工作状态;
$ _8 u8 b9 H$ j& Z$ y+ f) n+ F  然后在DOS命令行中,输入字符串命令“net share c$ /del”,单击回车键后,服务器中C盘分区的共享状态就被自动删除了;如果服务器中还存在D盘分区、E盘分区的话,你可以按照相同的办法,分别执行字符串命令“net share d$ /del”、“net share e$ /del”来删除它们的共享状态;, ^( U; i0 P- F0 a: @
  此外,对应IP$、Admin$之类的默认共享文件夹,你们也可以执行字符串命令“net share ipc$ /del”、“net share admin$ /del”,来将它们的隐藏共享状态取消,这样的话非法攻击者就无法通过这些隐藏共享“通道”,来随意攻击Windows服务器了。
5 G4 n9 r( R! A: M/ g2 j  “自动”删除法9 a; ]' u( ^& @3 a* V
  如果服务器中包含的隐藏共享文件夹比较多的话,依次通过“net share”命令来逐一删除它们时,将显得非常麻烦。其实,我们可以自行创建一个批处理文件,来让服务器一次性删除所有默认共享文件夹的共享状态。在创建批处理文件时,只要打开类似记事本之类的文本编辑工具,并在编辑窗口中输入下面的源代码命令:4 ]  \% j: q8 F; j4 F* a
  @echo off
3 |9 `6 i! ^+ V) E  net share C$ /del
+ Y3 R& O: h& J; w6 m9 t1 X  net share D$ /del
  h/ p! Z0 Y# z1 G# G4 Z  net share ipc$ /del/ B* v7 J, y, W
  net share admin$ /del
. ?( W) M! E/ h( y  ……
! |0 P# w3 U: j0 l  完成上面的代码输入操作后,再依次单击文本编辑窗口中的“文件”/“保存”菜单命令,在弹出的文件保存对话框中输入文件名为“delshare.bat”,并设置好具体的保存路径,再单击一下“保存”按钮,就能完成自动删除默认共享文件夹的批处理文件创建工作了。以后需要删除这些默认共享文件夹的共享状态时,只要双击“delshare.bat”批处理文件,服务器系统中的所有默认共享“通道”就能被自动切断了。# \& R  x- n% `  u4 N% f2 I8 y

; L! W5 R' T$ u0 _" C6 B- d2 Y9 M
本帖最近评分记录
  • tandong 经验 -5 违规:每用户每48小时只准在本版开2个以 ... 2008-3-22 06:59
  • tandong 金钱 -22 违规:每用户每48小时只准在本版开2个以 ... 2008-3-22 06:59
  • tandong 魅力 -1 违规:每用户每48小时只准在本版开2个以 ... 2008-3-22 06:59

TOP

发新话题
本功能由奇虎问答实现

相关主题

标题 作者 最后发表
[站外] 512+2G非对称双通道。还是1G+1G对称双通道?   [转帖] laperter 2009-01-06
[站外] 斩断津蓉运贩毒通道   [转帖] 白衣勝雪 2009-01-06
[站外] 哈马斯炸毁以军预留的加沙生命通道 夹持平民作人质   [转帖] 吹水 2009-01-06
点击阅读更多关于的相关帖子  更多相关主题
3G mobile phone applications of the times change (B) ... ... with the development of the business model changes

  In June 2006, Motorola NEC, NTT DoCoMo, Samsung Electronics and Vodafone, and other companies started to build a smart phone for the reunification of the Linux platform. In January 2007, the smart phone operating system provider Symbian official in Beijing announced the establishment of the China branch. In the past 3 years, the Chinese market for Symbian has created a global share of 10%. In February 2007, Microsoft announced that South Korean handset maker LG Electronics and Japanese mobile operator Soft Bank to become its Windows Mobile operating system, cell phone customers. ... ... In the global smart phone behind the rapid growth, several major mobile phone operating system, the forces of "one-third of the world," the pattern is rapidly brewing in the new variables. The dramatic changes in the market, will also gradually on the mobile phone application software development and business model have a profound impact.

  Symbian: by providing the flexibility to customize the user interface framework to enable mobile phone manufacturers to introduce a different style interface. To the core Symbian, Nokia has developed S40, S60, S80, and so on a variety of operating systems and applications, to authorize the use of other companies. With many years of accumulation of technology, Symbian smartphones in the area with the highest market share. The main camp of its major vendors including Nokia, Arima, BenQ, Fujitsu, Lenovo, LG, Ericsson, Mitsubishi, Panasonic, Samsung, Sharp, Sony Ericsson and so on. At present, Symbian has set up branch offices in China, is about to launch the industry, specifically for Chinese engineers to develop the institutions of Symbian certification exam, as well as China's Symbian developer community to provide training and support, including the provision of the Chinese developers and materials Local developers, and other activities. A number of independent developers such as China's grand digital red, and so on, has become certified through the Symbian joint development partners.

  Linux: The system is due to the Open Source (open source) features in favor of independent developers to develop high utilization of hardware, powerful mobile applications, and the full realization of low-cost control. Moreover, Linux system will also facilitate enterprise mobile applications and their close connection with the application of a variety of industries, and develop their own security, controlled certification system. Motorola is currently the most important mobile Linux a strong supporter of the (recent reference to the popular A1200 "Ming" smartphone series), the camp also includes NEC, Panasonic, Samsung, NTT DoCoMo, Vodafone and so on. The Linux-based smartphone currently occupy second place market share, making Symbian strong challenger. However, the standardization of mobile Linux has not been a good solution, which will over time lead to Linux-based mobile phone third-party software development is restricted.

  Windows Mobile: the PC operating system monopoly of Microsoft, including Smart Phone and Pocket PC Phone two-level platform. Usually corresponds to the phone hardware (CPU, memory, memory card) high performance strong. Its main camp, including Microsoft, Dopod, Palm, Sony Ericsson, Samsung, HTC, LG, Soft Bank, and so on. At present, most of the vendors are beginning to try to add support for Windows Mobile, and Microsoft Windows Mobile will be as part of its overall corporate strategy, trying to build across the mobile, PC, home appliances, such as the Internet's new multi-platform industrial chain. Windows Mobile is also the current market share is very small, but it does not prevent it from becoming one of the most threatening rivals.

  We can see that some companies (such as LG Electronics) for a variety of platforms have been taken inclusive. In addition to this manufacturer's own wait-and-see factor, also indicates that the petition must show a number of the next operating system have equal shares of common prosperity emerged. RIM, including the Black Berry, the iPhone, Apple Mac OS platform, and other than the closed, nor rule out the possibility that one day China will enter the open door policy and strategy might be.

  At present, Chinese mobile phone software applications to a single treasure chest of K-Java-based games. Follow the development model of its mobile operators to develop value-added business development of the SP standards by the CP (usually phones Game Studios) design and development, to the SP operation, and then through the Treasure Box Monternet platform announced. This is a relatively simple development model, this model can not be denied that laid the cornerstone of the treasure chest of business for the 2.5G mobile value-added services has created tremendous value. However, if the 3G mobile application platform on the environment, it has three problems: First, the developers did not face the end-user demand; Secondly, the developer is not involved in the operation of the product; Third, the development of In the types of products, product features and so on to great limitations. All these problems will greatly limit the 3G mobile phone applications.

  The era of 3G mobile application software development and operations, will be in the following four areas show significant features:

Diversified platform:

  Independent developers (ISV) will no longer be faced only by mobile operators to develop a simple SP value-added business development standards, but to meet the needs of the corresponding development of the smart phone operating system provider of product development norms. In my experience over the Symbian platform game research and development, Nokia and has studied the development of SGR thickness of the dozens of pages of documents (Standard Game Requirement), well aware of the product development of such norms in the complexity of the mobile operators with a simple business norms SP There are several orders of magnitude difference. Once the product development of standards by the operating system provider available, the industry chain is bound to focus on the shift took place, mobile operators and providers of the operating system it will then start the game. For example, to manufacturers such as Nokia's Symbian-based alliance on a global scale has been set up large community of software developers, and the official certification of the Symbian software for the establishment of a threshold issue, at the same time brought together a group of elite partners in development cooperation.

Product transition to the service:

  3G mobile application platform on the CP and SP, it will become increasingly blurred the boundaries between. With the mobile phone software, more and more areas are Online features, traditional stand-alone software development model will be totally subversive, as the original developer of the CP will be increasingly forced to operate into the product to work. This is not just the 3G features, and is also the world's software industry development trend of a unified, that is, from "selling products" to "sell" the change. Taking a panoramic view of the Chinese game industry, in essence, has achieved the first game from the stand-alone products to the online game service changes. In "SaaS" (Software As A Service) driven by the tide, the software itself will be increasingly free of charge, and profit model will gradually shift by service charges. QQ's IM software features are provided free of charge, but the QQ Show, casual games such as the need to pay value-added services, it is an excellent case in point. In this mode, CP and the SP boundaries have disappeared, product development and service providers must assume the same role, and to market directly to end-users in charge.

The inter-network integration:


  The next-generation mobile phone applications and tend to become more PC / Internet application integration, and complement each other to form the symbiotic relationship. Nokia's executive vice president and CTO Outai Luo has said publicly: "The first priority is to embrace the Internet." With the phone's functions by simply gradually communication (Communication) to the terminal complex computing (Computing) terminal change, and the PC / Internet integration will become the trend of the times. We have a little look at recent major high-end mobile phone business of advertising, will find mobile Office suite, mobile MSN / QQ client often become the focus of the eye-catching. Microsoft's Windows Mobile operating system is through with the PC version of Windows and Office suite of highly compatible and rapidly seize market share. Integration of these applications do not even need through mobile operator's network, and only by USB, Bluetooth, infrared or Wi-Fi can be achieved with Internet connections. Nokia has introduced support for the Wi-Fi phone products, and the support of a section of the mobile phone application Skype is also alleged to have come out.

Mixed market segments:

  The era of 3G mobile phone applications is a must for the breakdown of Nagao high (Long Tail) market, therefore the form of software will show a high degree of alienation mixed. As the cell phone privacy, and other characteristics of each end-user will need a high degree of personalized custom software products. Faced with such a chaotic market demand, the traditional top-down management system and software categories will be overwhelmed and collapse, with the need to become agile and software will be provided to create a new market model. For example, users may need a fully integrated Google map and Flickr photo-sharing "mash" services, according to the traditional tree of your software system will be very difficult to be attributed to a particular category. Has been up-and-coming Pica, thumb, and other software are sky is the case. At the same time, high-precision camera, streaming media players, GPS positioning module components, such as the introduction of mobile phones will make the application of increasingly complex patterns, and a high degree of flexibility to integrate a variety of hardware and software resources.

  All of the above changes, in fact, has been in the 2.5G era in the late can see the shape. For example, the recent popular mobile phone software Pica (PICA), met at the same time: support for the smart phone operating system, the development and operation of unity, the Internet and IM interoperability, features a variety of "mix" (instant messaging, VoIP, blog, , ... ...) And so on all the features. Although Pica, and other free services is not in the mobile operator SP supervision, but this is the real market demand driven by the mobile operators themselves have to face this sooner or later.