I am running windows with kaspersky anti virus.
I have performed a
Document document = Jsoup.connect(link).get();
link some how happened to be a viruswebsite.
when ever I run this command my Anti-virus window will pop-up and tell “blocked website as there is a trojan”.
My question is when we do get? where is the website physically stored? (document) (or) is it inmememory
The
Documentis stored in memory. But i think the alert here is caused when you “download” the website viaget(). Kaspersky will scan your incoming traffic and if there’s a virus / trojan / … block it.