The benefit of profiles
If you use a mobile computer and connect it to various networks when you travel around, you’ll soon have the desire to use a different set of rules in different situations. In an open network (e.g. an Internet Café) you may want to deny local network connections. When tethering using an expensive or slow data plan, you may want to deny software updates.
Similarly, if you use your computer to present slides when you give a talk, you definitely don’t want to be interrupted by connection alerts.
With Profiles, you can easily master all these situations, especially with automatic profile switching.
How profiles work
Every rule has a profile property. This property can be set to a particular profile (the rule is said to be in a profile) or it can be empty (rule is said to be effective in all profiles). In Little Snitch, either no profile is active or one profile is active (the current profile). Note that changing the currently active profile for one user also changes it for all other users on the computer.
If no profile is active, only rules which have no profile set (i.e. rules that are effective in all profiles) participate in rule matching. All rules that have a profile are ignored.
If a profile is active, all rules that have that profile as their profile set participate in rule matching, as well as all rules without a profile (because they are effective in all profiles).
In addition to changing the rules in effect, profiles can change the Mode of Operation. Switching to Silent Mode is very useful during presentations.
Creating and editing profiles
Before you can choose a profile e.g. in the status menu, it needs to be created in Little Snitch Configuration. Open the Rules window and click the
+ button in the toolbar:
or choose New Profile… from the File menu. The profile editor window opens where you can enter the new profile’s name and options:
Once you have created the first profile, the Profiles section appears in Little Snitch Configuration’s sidebar, listing your first profile. You can edit profiles by double-clicking them in the sidebar.
Profiles are global, which means they can be seen and edited by all users.
Assigning rules to profiles
After you have created profiles, you can drag rules to them in Little Snitch Configuration’s sidebar. Note that by default the rule is moved (its profile property is set to the new profile). If you want to copy it, hold down the Option key to create a copy of the rule in the profile.
When a profile is active, you will notice an additional button in the connection alert:
When it is selected and highlighted, rules are created in the current profile. Otherwise they are created effective in all profiles.
Automatic profile switching
With the steps taken so far, you can activate profiles at will by selecting them in the status menu. However you can also automate this process. Choose Enable automatic profile switching in Preferences > APS.
With this option set, Little Snitch tries to uniquely identify every network you join and stores this data for later use. You can instruct it to obtain the current geographic location and store it together with the network data. We recommend that you enable storing the location: Network names are often cryptic and after months or years you probably can't remember where you joined a network and whether you want to delete the association.
The next time you join a network not yet associated with a profile, Little Snitch asks what to do (unless you have configured a default profile for these cases):
When you choose a profile, it becomes associated with the network and automatically activated every time you join the network. If you choose Do Nothing, no association is made and you’ll never be asked again when you join this network. If you click Decide Later, there is also no association made, but the same question is asked again the next time you join the network. For convenience, you can also create a new profile from this alert.
Managing automatic profile switching
After a while, Little Snitch will know many networks and they will be associated with various profiles. You can inspect all known networks in the Known Networks Window. Choose Little Snitch Configuration > Windows > Known Networks:
You see a list of all networks, when the network was last joined (so that you can easily find and remove old entries) and the action taken when the network is joined. The action can be changed.
The lower part of the window contains the network properties Little Snitch stores. If you have enabled Save geolocations of networks in the APS Preferences, you’ll also see the location on a map. You can switch to a map view which shows the locations of all networks known to Little Snitch.
Known networks and the association to profiles are global, meaning they can be seen and edited by all users.
Each network can be associated with only one profile, but a profile can be activated by joining various networks. The association can also be configured in the profile editor (see Creating and editing Profiles above). You see a list of networks activating the profile there.
War dieser Eintrag hilfreich? Hinterlass uns Feedback.
© 2016-2023 Objective Development Software GmbH