關於使用Google數據API訪問Google Analytics數據的安全性問題。 我要在我的網站使用此代碼:Google Analytics以編程方式簡單登錄
AnalyticsService asv = new AnalyticsService("");
asv.setUserCredentials(CLIENT_USERNAME, CLIENT_PASS);
是否安全?用戶名和密碼是否通過純文本發送? 對不起,我的英語不好。
關於使用Google數據API訪問Google Analytics數據的安全性問題。 我要在我的網站使用此代碼:Google Analytics以編程方式簡單登錄
AnalyticsService asv = new AnalyticsService("");
asv.setUserCredentials(CLIENT_USERNAME, CLIENT_PASS);
是否安全?用戶名和密碼是否通過純文本發送? 對不起,我的英語不好。
如果您通過https訪問Google Data API,您的憑證將不會以純文本形式發送。
這裏你可以看到谷歌的例子,檢查線87處網址定義:
https://code.google.com/p/ga-api-java-samples/source/browse/trunk/src/v2/DataFeedExample.java
這是因爲該職位的一部分鏈接到我的C#代碼的API V3回答Automated use of google-api-dotnet-client with OAuth 2.0