Verifying if request source comes from Internet or Intranet
问题 I have application running on Internet which contains some admin module also. I don't want to let the user access my admin module on Internet. I want that request coming from intranet can access admin module. Is there any way to control this without developing a new application which serves admin component? 回答1: If you are using servlets, you could add a filter and analyze the client IP address (see this question). Be aware that there is no guarantee you will determine the correct address by