How can I restrict the user's access to the updates configuration file or an update file using username/password, which is not desribed in the Auto Updater Help.
In order to restrict the user's access to the updates configuration file or an update you must configure the server that holds these files to require authentication.
When the user tries to download a file, the updater prompts him for the username/password and sends them to the server. This is done automatically by the updater, no additional configuration is needed.
It is not very friendly of the updater to request a user/password if a license key is already available. The documentation for the Updater License Check indicates that the server configuration file can reference a credentials page that verifies the license in a registry key on the user system. This is passed as a POST from the updater to the server.
However, the only way to get to the licenseCheck URL is to already be able to access the update.ini URL. You can't restrict access to the update.ini if you are going to reach the licenseCheck.
BUT, if you can access the update.ini without going through the licenseCheck, then you can just look at the update.ini file in your browser, noting the location of the download. Then just go to the download page without ever passing the licenseCheck. So you would have to protect the download page as well - with the same credentials. This makes the licenseCheck URL irrelevant - unless it can somehow unlock access to the downloads page for the current session.
However, this implies some sort of session control, which works with browsers but I have no idea if this works or can be made to work with the updater. This would be a great enhancement if you can make it work. If it does somehow work, then please document it!
The current implementation of the updater security is not usable for us because we need to allow automatic downloads and updates only if the user has a support contract - which would be indicated by the local license file or registry key.
FOLLOW US
Get the latest news in Application Packaging