timmangan
Posts: 47
Joined: Fri Mar 30, 2018 1:17 pm

License Server and User_Agent in http header

I am using the licensing component. It's been working great, however our hosting provider just added an application firewall which is incompatible with the license activation.

The problem is that the application firewall insists on parsing the User_Agent field in the http header. When registration is attempted, the firewall blocks the request to the license server. I have a binary used to manage the licenses on the server and found that by setting the User_Agent field this allowed my code to make the call to the php code.

It isn't clear if just any user agent is supported, but I stuffed this in:
public const string USER_AGENT = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)";

Can we get this added to any calls made by the AI Licensing to the configured License Server?
timmangan
Posts: 47
Joined: Fri Mar 30, 2018 1:17 pm

Re: License Server and User_Agent in http header

OK to ignore this. I got the hosting provider to turn off the filtering for User_Agent which solves the problem.
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: License Server and User_Agent in http header

Hello Tim,

First of all, we apologize for the delayed reply.

Thank you for your followup on this and for sharing your solution with us. I am glad you got this working.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”