What is the meaning of '@' in the URL?
Asked Answered
P

4

22

Let us try to access

http://yahoo.com@3627729518

with any browser. We get redirected to google.com.

3627729518 is the decimal representation of 11011000.00111010.11000010 .01101110 without dots. What's the reason of such behavior?

Note: I've changed the url so it's universal, but still, there is http://domain@ip. Originally it was local bank url and a scam-service's ip.

Pinnate answered 23/9, 2016 at 15:13 Comment(0)
N
20

It's a malicious url, abusing the http://username:password@hostname support to make it LOOK like a yahoo url.

But it's actually taking you to that IP address (yes, an IP address is just a number, and can be represented by an integer). So that url is effectively:

http://[email protected]

which reverse DNSs to

http://[email protected]

so probably a Google Fibre customer in Dallas/Fort Worth.

Nasty answered 23/9, 2016 at 15:15 Comment(0)
F
7

It's a very old type of URL format still supported by some browsers.

@ was used in specifying a user name and password sent via Basic Authentication to the web site on the right hand site of the @. For example;

http://username:[email protected]

would have sent the username of username, and the password of (you've guessed it) password to example.com. This meant if you created that as a bookmark you wouldn't have to login, it'd be sent for you. Not the most secure idea.

Fluorine answered 23/9, 2016 at 15:16 Comment(3)
You make it sound like it isn't used anymore ; while I've never seen it used with HTTP, I use it from time to time to log in FTP servers. It's especially useful in scripts or other software interacting with an FTP server to avoid the user / password prompt interactivity.Multilateral
Was this recent? I could have sworn I used an up-to-date chrome or firefox browser to log into an ftp server with such an url in the last 1 or 2 years ! I'll try to research it myself if I find the time to, but if you have some source to support your statement I'll be glad to read it.Multilateral
It still works fine for HTTP, but browsers will spit out a "you're trying to log into X with username Y"-type warning, exactly to warn the user about this kind of abuse.Nasty
D
-2

it is added to identify the service provider If it is @yahoo.com it will be redirected to yahoo server. In case of gmail to google mail server Some web hosting sites such as wix provide free hosting and domain But it will always end at [email protected] indicating that what ever be the web name it will be redirected to the wix server. It can be said that it is used to create custom subdomain inside a domain.Webname has no independent existence outside the domain

Dismuke answered 3/10, 2016 at 14:31 Comment(0)
A
-2

@ is basically DNS it specifies the address

Autoeroticism answered 4/10, 2016 at 12:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.