User authentication - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

p.hackl
Posts: 3
Joined: Thu Mar 16, 2006 6:19 pm

User authentication

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.
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

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.

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
jbridges
Posts: 38
Joined: Fri Jun 09, 2006 12:36 am

Why not use the licenseKey check?

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.

Do you have any other suggestions? Please!

Return to “Common Problems”