Mac OS X: Disable and enable the connect to server option in the finder menu

Source: Internet
Author: User
Mac OS X: Disable and enable the connect to server option in the finder menu

 

This function can easily restrict user access to other networks for sharing. Of course, it must be used together with other functions to better implement this function.

 

By default, this option is enabled:

 

 

You can also disable:

 

It is easy to implement.Program, Enter the following command to disable

Defaults write com. Apple. Finder prohibitconnectto true

Enter the following command to open

Defaults write com. Apple. Finder prohibitconnectto false



After the command is executed, the finder will not immediately respond. You need to re-run the Finder to see that there are at least two methods to re-run the finder program.

    1. Is the GUI used by common users:

      On the apple Icon menu, click force quit... or the combined key command + Option + ESC. In the displayed window, select the finder, click relaunch, and then confirm.

      Or Press Control + option and then click the finder icon on the dock. For details, see:

    2. Command line:
      Killall-hup finder & Open/system/library/coreservices/finder. app

Note later:
The above simple process only describes how to set the current user. For how to set other users, you can use loginhook (see my other articles on loginhook ).
Chapter), or edit the preferences file of the finder in the user template. The application scenarios of the two are different. The Administrator should select a method based on his or her own situation.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.