https only in google app engine

前端 未结 5 1911
渐次进展
渐次进展 2020-12-08 19:45

I am on a google app engine project now. In my application I have to allow only https protocol. And I have to restrict other protocols. It should allow https only. I have ad

5条回答
  •  不知归路
    2020-12-08 19:50

    If you want to stick with "web.xml" rather than using the "app.yaml" option (which will overwrite your web.xml & appengine-web.xml files at deploy time), you can add in:

    
        
            everything
            /*
        
        
            CONFIDENTIAL
        
    
    

    Reference: https://cloud.google.com/appengine/docs/java/config/webxml#Security_and_Authentication

提交回复
热议问题