[GH-ISSUE #202] Restrict sync to specific WiFi SSID using network settings #199

Open
opened 2026-02-25 20:31:08 +03:00 by kerem · 7 comments
Owner

Originally created by @BSG2000 on GitHub (Jul 17, 2017).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/202

Possibility to restrict sync using network settings
It would be great to run the sync only if you are in a particular network. The restriction could be based on the WLAN SSID or the IP address. Alternatively, you could test the availability of the CALDAV Sync Server. In environments where the server can only be reached in the company subnet, the sync could be used without constant error messages. That would be great!
DAVDroid for Android uses the SSID for a similar function.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Originally created by @BSG2000 on GitHub (Jul 17, 2017). Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/202 Possibility to restrict sync using network settings It would be great to run the sync only if you are in a particular network. The restriction could be based on the WLAN SSID or the IP address. Alternatively, you could test the availability of the CALDAV Sync Server. In environments where the server can only be reached in the company subnet, the sync could be used without constant error messages. That would be great! DAVDroid for Android uses the SSID for a similar function. <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/47317619-possibility-to-restrict-sync-to-specific-wifi-ssid-using-network-settings?utm_campaign=plugin&utm_content=tracker%2F20017320&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F20017320&utm_medium=issues&utm_source=github). </bountysource-plugin>
Author
Owner

@aluxnimm commented on GitHub (Jul 22, 2017):

not planned atm but should be possible.

<!-- gh-comment-id:317183481 --> @aluxnimm commented on GitHub (Jul 22, 2017): not planned atm but should be possible.
Author
Owner

@BSG2000 commented on GitHub (Aug 21, 2017):

Here is an example of how it was solved in DAVdroid
new setting: only sync in specific WiFI (by SSID)

<!-- gh-comment-id:323665609 --> @BSG2000 commented on GitHub (Aug 21, 2017): Here is an example of how it was solved in DAVdroid [new setting: only sync in specific WiFI (by SSID)](https://gitlab.com/bitfireAT/davdroid/commit/6ffa6fa9a75104aad4a7305ac8715e6f6793dfce)
Author
Owner

@BSG2000 commented on GitHub (Mar 14, 2018):

Is there any plan to get the possibility to use profiles with special connection requirements, like an caldav Server in the intranet in a company?

<!-- gh-comment-id:372957240 --> @BSG2000 commented on GitHub (Mar 14, 2018): Is there any plan to get the possibility to use profiles with special connection requirements, like an caldav Server in the intranet in a company?
Author
Owner

@nertsch commented on GitHub (Mar 14, 2018):

It would be great to run the sync only if you are in a particular network.

Since a computer can be connected to multiple networks this is a little bit unclear.
Do you mean
a) sync only if connected to a particular network or
b) sync only if the server is accessed over a specific network?

br
Gerhard

<!-- gh-comment-id:372995850 --> @nertsch commented on GitHub (Mar 14, 2018): > It would be great to run the sync only if you are in a particular network. Since a computer can be connected to multiple networks this is a little bit unclear. Do you mean a) sync only if connected to a particular network or b) sync only if the server is accessed over a specific network? br Gerhard
Author
Owner

@BSG2000 commented on GitHub (Mar 14, 2018):

I see use cases for both possibilities:

a) You are in a specific IP range, which is only used by the corporate network. Your client has, for example, the IP 10.123.321.111 in this subnet. It is also possible to determine the WLAN SSID of the connected network.
or
b) Before the sync it is checked if the target is reachable at all and the sync is paused for a longer time and no error message is displayed.

In the end, a solution has to be found that performs the sync when you reach the server (for example via VPN) or you are on site in the company's network. It should be avoided that with every Outlook start the window with the error messages is indicated.

greetings
Thomas

<!-- gh-comment-id:373071832 --> @BSG2000 commented on GitHub (Mar 14, 2018): I see use cases for both possibilities: _a) You are in a specific IP range, which is only used by the corporate network. Your client has, for example, the IP 10.123.321.111 in this subnet. It is also possible to determine the WLAN SSID of the connected network. **or** b) Before the sync it is checked if the target is reachable at all and the sync is paused for a longer time and no error message is displayed._ In the end, a solution has to be found that performs the sync when you reach the server (for example via VPN) or you are on site in the company's network. It should be avoided that with every Outlook start the window with the error messages is indicated. greetings Thomas
Author
Owner

@aluxnimm commented on GitHub (Mar 14, 2018):

For b) it is hard or impossible to distinguish if the target not reachable means you are in a wrong network or the server has problems itself. But in that later case there should be an error message...

<!-- gh-comment-id:373094840 --> @aluxnimm commented on GitHub (Mar 14, 2018): For b) it is hard or impossible to distinguish if the target not reachable means you are in a wrong network or the server has problems itself. But in that later case there should be an error message...
Author
Owner

@BSG2000 commented on GitHub (Mar 14, 2018):

Yes that's right. But I just could not be in the corporate network too. ;-)

My suggestion for b): If the user has no intranet restriction configured -> error message will be displayed. If the user has set the option -> no error message, maybe there is an interval and a warning:
"You have not synced since 7d, Connect to your corporate network to update calendars and contacts."

<!-- gh-comment-id:373133148 --> @BSG2000 commented on GitHub (Mar 14, 2018): Yes that's right. But I just could not be in the corporate network too. ;-) My suggestion for b): If the user has no intranet restriction configured -> error message will be displayed. If the user has set the option -> no error message, maybe there is an interval and a warning: "You have not synced since 7d, Connect to your corporate network to update calendars and contacts."
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#199
No description provided.