[[TranslatedPages]] = Preferences > Connection settings = {{{ #!html
This is work in progress which is neither available in latest nor in tested. The corresponding features will be available shortly. Please check the JOSM Message of the Day.
}}} [[TOC(inline)]] == The URL to the OSM server == === Downloading and uploading to the default server === [[Image(use-default-api-url.png)]] Most JOSM users want to exchange geo data with the standard OSM server operated by the OSM community. Tick the respective checkbox in order to download from and upload to the standard server (see screenshot above). This is the default setting. === Advanced option: Downloading and uploading to a custom server === Some JOSM users need to configure the API URL of an OSM server because they are working with a custom server: * Some users are working with local installations of the OSM server * Some users are working with development and test instances of the OSM server (for instance with [http://api06.dev.openstreetmap.org]). [[Image(use-custom-api-url.png)]] In order to use a custom URL: 1. Remove the tick in the checkbox for the standard API URL (see screenshot above) 2. Enter the API URL Click on '''Validate''' to test whether an OSM API server is available at the given URL. If so, JOSM will display the icon [[Image(source:/trunk/images/dialogs/changeset/valid.png)]] to the right of the input field for the API URL. If the URL isn't valid, JOSM will display the icon [[Image(source:/trunk/images/warning-small.png)]]. == Authentication Settings == === Working anonymously or with an OSM account === You don't need to identify and authenticate yourself provided that you neither upload data to the OSM server nor download data for which you must authenticate first. If you work '''anonymously''' you are allowed * to download geo-data from the OSM server and save it to a local file * to download public GPS traces from the OSM server * to load geo data from a file, edit it, and save it back to a file However, you can't * upload geo-data to the OSM server. You can't created, update, or close changesets either. * download your private GPS traces You are recommended to [http://www.openstreetmap.org/user/new?referer=%2F create an OSM user account]. By using [http://www.openstreetmap.org/user/new?referer=%2F this form] you can choose an '''OSM username''' and an '''OSM password''' both of which you will use below. === Basic authentication === Basic authentication is the basic mechanism to authenticate yourself at the OSM server. Here's a screenshot of the preferences panel for basic authentication: [[Image(basic-authentication.png)]] To use Basic Authentication 1. Go to the tab '''Authentication''' in the Connection Preferences 2. Select the authentication method '''Basic authentication''' 3. Enter your OSM username and your OSM password {{{ #!html
Warning!
The password is stored in plain text in the JOSM preferences file.
Furthermore, it is transferred unencrypted in every request sent to the OSM server.
Do not use a valuable password.
Warning!
Currently, the OSM server doesn't offer a secure communication channel. Even if you use OAuth your password is therefore transferred once in clear text over the Internet. Do not use a valuable password until the OSM server provides a secure communication channel (HTTPS).