When we visit, we will display some information of the server software. We do not want users to display such sensitive information. E.g. SQLAnywhere / 17.0.10.5963



<html><head><title>401 Authorization Required</title></head>
<body><h1>
401 Authorization Required
</h1><hr><address>SQLAnywhere/17.0.10.5963</address>
</body></html>

asked 05 Feb '20, 11:25

mfkpie8's gravatar image

mfkpie8
273667075
accept rate: 12%

you should hide the server behind firewall + another web proxy such as Apache HTTPD or nginx. It has to show the technical page such as "oooops".

(06 Feb '20, 04:04) Vlad
Replies hidden

I want to modify these contents or blank text directly, not to filter the port, but to modify the http header server information.

Content-Type: application / json

Server: SQLAnywhere / 17.0.10.5963 >>>>server:null

(16 Feb '20, 11:58) mfkpie8

The SQL Anywhere HTTP Server (and the MobiLink Server) no longer puts the <address> tag in HTTP responses as of v17.0.10 build 6028. The v17.0.10 build 6057 Windows EBF should be posted this week, and the v17.0.10 build 6041 Linux EBF should already be available.

permanent link

answered 05 Mar '20, 08:38

Reg%20Domaratzki's gravatar image

Reg Domaratzki
7.7k343118
accept rate: 37%

edited 05 Mar '20, 08:42

1

As the EBF for Windows is now available, am I right that this change is not documented in the according readme?

(06 Mar '20, 06:15) Volker Barth
Replies hidden

You are correct.

(09 Mar '20, 10:55) Reg Domaratzki

I have not tried that myself but I guess you can use the sa_set_http_header system procedure to set the "Server" header value to whatever value you like.

permanent link

answered 17 Feb '20, 04:59

Volker%20Barth's gravatar image

Volker Barth
40.1k361549819
accept rate: 34%

converted 18 Feb '20, 08:22

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×64

question asked: 05 Feb '20, 11:25

question was seen: 4,174 times

last updated: 09 Mar '20, 10:55