V
V
valis2018-10-20 22:40:54
Computer networks
valis, 2018-10-20 22:40:54

Can links be made safer?

Imagine the following case - there is a conscientious resource on which a completely respectable author places a link to a 'good' page. After being posted, the data at the specified link has changed and, at best, does not contain the information that was originally referred to, and at worst, to malicious code. Note that the link is located on a site that is trusted and users follow it without a second thought.
One of the options for solving the problem of the validity of links can be assigned to a respectable site, the developer of which will write a script that scours links for something there.
But in my opinion, link validation should be part of the web standard. The simplest thing is to insert a unique hash of the page into the url, which will be checked against the current hash during the transition and cursed if they do not match.
When the hash is legally changed, the page should notify everything that links to it and the links should be recalculated or removed (if, for example, the subject changes or information is deleted)
This idea has a number of disadvantages that are associated with the dynamism of the web, but this method is suitable, for example, for links to articles or to validate the source code of the page
Any ideas or thoughts about this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2018-10-22
@valis

Are you religiously opposed to using magnet-urls and want us to help you reinvent them?

G
Griboks, 2018-10-21
@Griboks

Any page with dynamic content, content updates, news, counters, banners and ads will not pass your validation.
Standard behavior is to warn about an "expired" link or a link to an external site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question