Is it possible to inject cookies into a website?

2

Suppose the following situation:

When I access a website (technology forum), this site would inject cookies so that when I visit another site (store that sells products), it counts that visit as the origin of the first site (similar to an affiliate site program for example).

Would this kind of third-party cookie manipulation be possible?

    
asked by anonymous 29.01.2015 / 14:54

1 answer

3

In practice this is not possible since cookies are owned by a single domain.

This means that you can make a cookie work in two places as teste.exemplo.com and teste2.exemplo.com , but never between teste.com and teste2.com for security reasons.

    
29.01.2015 / 17:57