开发者

What is this kind of URL called?

开发者 https://www.devze.com 2023-01-14 17:08 出处:网络
http://admin:123456@192.168.1.178/videostream.cgi I didn\'t know that username and password could be set directly in the URL. How does thi开发者_如何学运维s work? Is it standard? What search terms s
http://admin:123456@192.168.1.178/videostream.cgi

I didn't know that username and password could be set directly in the URL. How does thi开发者_如何学运维s work? Is it standard? What search terms should I use to find out more about this?


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.


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

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号