Skip to content

How to access files with anti-leech #185

Closed Answered by jjmaldonis
maketesteasier asked this question in General help
Discussion options

You must be logged in to vote

Hey @maketesteasier I just talked to the team and what you said is correct. The referer field is not set because it can be spoofed (i.e. an attacker could set that value to anything they want). For that reason, the best way to authenticate the request is to check the dg-token header. The value of this header parameter is the ID of your API key (not the API key itself), which is effectively a secret that only you and Deepgram know.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@maketesteasier
Comment options

@jjmaldonis
Comment options

@maketesteasier
Comment options

@jjmaldonis
Comment options

Answer selected by jpvajda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants