Skip to main content
Solved

How to tell if URL was manually access by user or refer by link?

  • March 29, 2024
  • 1 reply
  • 358 views

munster

Hi

How can I tell if URL was manually access by user or refer by link?
Eg,  in a webpage, there were images downloaded from S3 storage vs user goto the S3 storage.

 

Thank

Best answer by Fatehd

Hi,

 

You can distinguish between direct access and referred access to a URL by examining the HTTP referer header. When a user clicks a link to access a resource, the referer header contains the URL of the referring page. If the user manually types the URL or accesses it through a bookmark, the referer header might be empty or not present. For more info : https://docs.netskope.com/en/netskope-help/data-security/real-time-protection/profiles/http-header-profile/

This topic has been closed for replies.

1 reply

Forum|alt.badge.img+1
  • Netskope Employee
  • Answer
  • April 8, 2024

Hi,

 

You can distinguish between direct access and referred access to a URL by examining the HTTP referer header. When a user clicks a link to access a resource, the referer header contains the URL of the referring page. If the user manually types the URL or accesses it through a bookmark, the referer header might be empty or not present. For more info : https://docs.netskope.com/en/netskope-help/data-security/real-time-protection/profiles/http-header-profile/