Alan
Alan

Reputation: 5189

What is this kind of URL called?

http://admin:[email protected]/videostream.cgi

I didn't know that username and password could be set directly in the URL. How does this work? Is it standard? What search terms should I use to find out more about this?

Upvotes: 4

Views: 222

Answers (3)

fseto
fseto

Reputation: 10438

It's the authority part of a URI scheme defined by RFC3986.

https://www.rfc-editor.org/rfc/rfc3986#section-3.2

Upvotes: 3

Behrang Saeedzadeh
Behrang Saeedzadeh

Reputation: 47913

It's just a normal URL. See here for the URL syntax: http://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax

Upvotes: 1

BoltClock
BoltClock

Reputation: 723448

It's a standard way of providing login credentials in the URL so it doesn't have to prompt you for them.

admin is the username, 123456 is the password. The hostname is 192.168.1.178 as usual. You're connecting through the http protocol, so HTTP authentication is used here to access the script.

Upvotes: 4

Related Questions