Post on the server access interface Tip: Do not use illegal access URL address, URL address that you are not allowed to visit

One, due

Local computer and the company's computers deployed applications (.net core), made a separate front and rear end, and then use the post way to get data, normally is not a bug.

But the application is released to the customer's server, there will be a status code 403, and then the page displays the following error:

Do not use illegal URL address access

The most likely cause is:

• You are trying to unlawful attacks.

• You access the URL address is not allowed.

Second, try to solve

1, replacement of secondary domain; No ----

2, to see if the firewall security settings do; not ---

3, the requesting client network administrator, is not very clear; --- not

4, access to the machine on the server itself, turned out to be normal; --- can

5, all of the other networks, 4G, etc. are not accessible, you will be prompted 403; --- not

6, other applications on the server can be, for example .net mvc the like, can be used post, ajax other request; --- can

7, using a postman access interface, and an interface to access other applications; --- not;

8, by requesting get, it will not be blocked normal access; - can

9, the ip access interface; - No

In fact, there are other attempts, not one to say, personal estimate is the customer's server to do a security policy or operators do over there. Because the other customer's server is normal, except this server is not normal (government safety).

Third, the solution

Because before are using the http request, the security policy there should be able to capture the information, it will return 403 status.

Now use https access, transmission is encrypted, so you can not capture, data can be returned to normal.

No wonder, they should have a high sense of security, can not be lazy, not that s one more thing, ha ha ha.

Other solutions, unless there is a network administrator can know the reasons, set about, but did not expect them.

 

 

 

 

 

 

 

Published 209 original articles · won praise 370 · Views 19,540,000 +

Guess you like

Origin blog.csdn.net/lilinoscar/article/details/99461932