我们能否在客户端或服务器端保护JSON文件数据

时间:2019-04-15 04:46:22

标签: php google-api

我正在使用Google API,并且json文件中有数据,我们可以轻松地从浏览器访问该数据,有没有一种方法可以防止数据

$client = new Google_Client();
$client->setApplicationName('People API');
$client->setScopes(Google_Service_PeopleService::CONTACTS);
$client->setAuthConfig('credentials.json');
$client->setAccessType('offline');
$client->setIncludeGrantedScopes(true);   // incremental auth

0 个答案:

没有答案
相关问题