1
A
回答
3
從How to implement hotlinking prevention in Google App Engine
def get(self):
referer = self.request.headers.get("Referer")
# Will be None if no referer given in header.
而且我只是嘗試這樣在console:
import os
os.environ['HTTP_REFERER']
它返回
'http://con.appspot.com/console/'
檢查,如果它不過使用之前在那裏第一次。
相關問題
- 1. Google App Engine:流量監控
- 2. Google App Engine批量下載
- 3. Google App Engine HTTP
- 4. Google App Engine - java.security.AccessControlException?
- 5. Google App Engine
- 6. Google App Engine APNS
- 7. App Engine + Google Documents
- 8. Google App Engine ASP.net
- 9. Google App Engine ThreadSafe
- 10. Google App Engine Memcache
- 11. Google App Engine Blob
- 12. Google App Engine Geohashing
- 13. Google App Engine DeobfuscatorBuilder
- 14. SSLHandshakeError - Google App Engine
- 15. Google App Engine - JDODetachedFieldAccessException
- 16. Google App Engine Profiler
- 17. Python - Google App Engine
- 18. 將流星部署到Google App Engine 2017
- 19. 從Google App Engine流式傳輸音頻
- 20. Google App Engine Java - javax.servlet源文件
- 21. Django with Google App Engine - 教程資源
- 22. Google-App-Engine中的資源包(Struts2)
- 23. Google App Engine - 從App Engine Helper升級
- 24. 如何在OSX上監控來自Google App Engine dev_appserver的http流量?
- 25. 如何構建Google數據存儲(App Engine)Web流量模型?
- 26. Google App Engine - 不會將HTTP流量重定向到HTTPS
- 27. 有沒有辦法取消Google App Engine中的流量遷移?
- 28. 'Google App Engine'遠比'Google Compute Engine'貴嗎?
- 29. 來自Google App Engine的Django 1.5.1支持
- 30. Google App Engine - 死鎖?
太好了,謝謝。 – user1379351