check root permission  for http request