# 账密认证

### 什么是账密认证？

全称是账号密码认证（Username & Password Authentication），是一种常见且基础的身份验证方式。用户在使用代理时，需要在连接请求中填写账号（Username）和密码（Password），代理服务器会先校验身份信息，验证通过后才允许访问网络资源。

主要特点：

* 无需固定本地 IP，可在任意网络环境使用
* 配置灵活，适合多人、多设备或自动化程序调用
* 安全可控，可随时更换密码或禁用账号

### 快速了解

<figure><img src="/files/PDg5Nf5xMzO2sIK3mO3z" alt=""><figcaption></figcaption></figure>

### 如何使用1024Proxy的账密认证功能提取IP？

下面将为你详细解释操作步骤和使用说明。

{% stepper %}
{% step %}

### 登录注册1024Proxy

登录注册网址：<https://1024proxy.com/sign-up/>

<figure><img src="/files/cFOCY3OR6IzM8ngpfZ7V" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 购买动态住宅流量代理IP

<figure><img src="/files/YxsSmx6wce9DUY093Zam" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}

### 进入控制台

<figure><img src="/files/ya65Qv3bbTDNQ5pLr6BN" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}

### 创建子账号

在控制台界面的账密认证菜单下，选择按钮【账户管理】

<figure><img src="/files/tpMooqmiqJV79UsPWsaG" alt=""><figcaption></figcaption></figure>

1024Proxy默认创建一个主账号，如果你点击按钮【+添加账号】可以创建新的子账号

<figure><img src="/files/xhECmyFelE6IbUslNr84" alt=""><figcaption></figcaption></figure>

在添加子账号的弹窗中，可以设置用户名、密码、填写备注、分配（增加或减少）对应的套餐流量（单位为GB）。

设置子账号功能能够满足用户多账号管理、精准化流量控制的需求，更适合多人协作的工作室或者企业。

<figure><img src="/files/oaiTR7Ll4hCBgG0H4LSF" alt=""><figcaption></figcaption></figure>

点击确认即可查看子账号页面新创建的账号信息，以及当前分配流量使用消耗情况。

<figure><img src="/files/oDdElFYk63aAh1zKEnEf" alt=""><figcaption></figcaption></figure>

点击按钮【去使用】返回账密认证页面

<figure><img src="/files/r2I3z6tW2czQXoJTejEY" alt=""><figcaption></figcaption></figure>

选择当前要使用的账号

<figure><img src="/files/fKzOrukDWAC0v9kwQiyR" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}

### 完成代理参数设置

<figure><img src="/files/n66IehrXmjGZHaz6vQO2" alt=""><figcaption></figcaption></figure>

1.设置地理位置：

国家或地区:通过下拉框筛选或者输入搜索所需的地区资源。[访问国家代码页面](https://1024proxy.com/subject/resource/)查看国家代码。

州/省：通过下拉框筛选或者输入搜索所需的地区资源。

城市：通过下拉框筛选或者输入搜索所需的地区资源。

2.ASN：在互联网中，全球的网络被划分为一个个 自治系统（AS，Autonomous System），

每一个自治系统由同一个组织统一管理（例如电信运营商、云服务商、大学、公司等），

并被分配一个唯一的编号，这个编号就是 ASN。ASN和州/省、城市等筛选条件不可以同时使用，只能二选一。

3.代理主机：不同地区的转发机器对于代理效果有不同的影响，通常选择距离目的IP较近的地区或者距离使用代理的用户所在地较近的地区。1024Proxy提供美国、香港两个地区的转发机器，用户在使用时优先选择距离自己较近的服务器可以获得更快的访问速度。

<figure><img src="/files/YIHzDnaCXeuLx2PRpT5A" alt=""><figcaption></figcaption></figure>

4.会话类型：会话类型包含粘性（Sticky IP）和轮换（Rotating IP）两种模式。

会话时长：粘性模式下，IP可以在会话时间内（1-120分钟）保持不变；轮换模式下，每次请求都会切换一次IP，前往会话控制页面了解详情。

5.选择账户：在账户管理页面创建子账号，可以在此处下拉选择要提取使用的对应账户信息，实现流量精准管控。

6.协议类型：1024Proxy支持HTTP（S）、SOCKS5多种协议类型，可以使用cURL命令快速提取验证IP。

在Windows系统中按Win+R，输入cmd，打开命令控制面板，将curl命令复制并粘贴到命令控制面板。

<figure><img src="/files/LwQ5C8x5jGMiXEzyaZAQ" alt=""><figcaption></figcaption></figure>

7.生成格式：1024Proxy支持多种协议类型，能够兼容市面上大部分的第三方代理工具。

Hostname:Port:Username:Password

Socks5://username:password\@host:port

Username:Password\@Hostname:Port

Hostname:Port\@Username:Password

8.二维码快速扫码复制：借助手机扫描二维码可以快速输入账密信息，便捷操作提高工作效率。
{% endstep %}

{% step %}

#### 查看使用数据

在数据统计板块，可以查看到自己每日的流量消耗数据。

<figure><img src="/files/GUNuTb3rIuTwL6yTE84M" alt=""><figcaption></figcaption></figure>

点击【申请】按钮，等待1-2分钟，刷新页面可以查看到【下载】按钮。点击下载可以查看到当日的流量消耗使用详情。

<figure><img src="/files/qrAAZ9GL7a6YbSEv24fG" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ZbTDRA4msFYYEB5K3Bcv" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.1024proxy.com/1024/1024proxy/dynamic-residential-traffic/username-and-password-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
