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, 11:25

mfkpie8's gravatar image

mfkpie8
158465259
accept rate: 14%

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, 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, 11:58) mfkpie8

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, 04:59

Volker%20Barth's gravatar image

Volker Barth
35.0k338496733
accept rate: 33%

converted 2 days ago

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:

×52

question asked: 05 Feb, 11:25

question was seen: 130 times

last updated: 17 Feb, 04:59