Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ssudaraka
· 8y ago · 0 comments
Can someone fake the origin?
Comments
[–]
fimdomeio
8y ago
This is controlled on browser level and most (all?) browsers implement this. Origin can be faked by just using anything that can make a http request, like curl. It exists to protect users not the server.
[–]
askthrowaway
8y ago
from browser ? No. from non-browser clients like curl ? Yes. And your server will never be able to tell if it is fake or not