This topic describes the logon options for ossbrowser 1.0 and the related configuration items.
Configure permissions for logon accounts
Before you log on, make sure that the account you use has the required permissions to perform operations in ossbrowser 1.0.
Alibaba Cloud account: An Alibaba Cloud account has all permissions on resources that belong to the account. No additional permissions are required.
RAM user: To log on and view all buckets and files, make sure the RAM user has at least the
oss:ListBuckets,oss:ListObjects, andoss:GetBucketInfopermissions on all buckets.STS temporary access credentials: To log on and view the file list in a specific bucket, the credentials must have at least the
oss:ListObjectspermission on the specified bucket.Authorization code: The permissions of an authorization code are configured by the Alibaba Cloud account or RAM account administrator after they log on to ossbrowser 1.0 using the Generate an authorization code operation.
After you log on to ossbrowser 1.0 using a RAM account or STS temporary access credentials, you must configure the corresponding permission policies to perform related operations. You can configure permissions based on the following table according to the required operations. For more information about how to customize permission policies and grant permissions to RAM users, see Create a custom permission policy and Grant permissions to a RAM user.
Procedure
ossbrowser 1.0 provides three logon methods, as described in the following table.
Logon method
Description
AK Logon
If you are a resource owner or a team member who needs to access OSS resources for a long time and requires long-term logon validity, we recommend that you log on to ossbrowser 1.0 using the AccessKey (AK) information of an Alibaba Cloud account or a RAM user.
STS logon
If you want a team member to temporarily manage your OSS resources, you can use a RAM user to assume a RAM role to use Security Token Service (STS) to obtain temporary access credentials. Other members of the team can also use the temporary access credentials to log on to ossbrowser and perform operations on your OSS resources.
Authorization Code Logon
If you want a team member to temporarily or permanently manage some of your OSS resources, you can log on to ossbrowser 1.0 using an AK, authorize OSS resources, and generate an authorization code. Other members of the team can also use the authorization code to log on to ossbrowser 2.0 and perform operations on the OSS resources based on the permissions that you specified.
Select a logon method based on your scenario.
NoteStarting from 00:00:00 (UTC+8) on March 20, 2025, new OSS users cannot use default public OSS domain names, such as `bucketname.oss-cn-region.aliyuncs.com`. Attempts to access these domain names are blocked and the `PublicEndpointForbidden` error code is returned. If you are a new user who needs to access buckets in the Chinese mainland, you must use a custom domain name (CNAME) or an internal endpoint. For more information, see the announcement.
Log on using an AccessKey pair

When you log on using an AK, you must complete the following configuration items.
Parameter
Description
Example
Endpoint
Default (Public Cloud): Uses the endpoint of the region where the destination bucket is located to log on. If you select this logon method, you can select HTTPS to encrypt the transmission process.
ImportantFor regions that do not support this access method, you must select Custom as the logon method.

Custom: If you select this logon method, you can use any endpoint of OSS in the public cloud. For more information about the mapping between regions and endpoints, see Regions and endpoints.
NoteIf you do not use an internal endpoint, Internet traffic is generated. You are charged for the generated traffic. For more information, see Traffic fees.

cname: If you want to access OSS resources using a custom domain name, you must first map a custom domain name. For more information, see Map custom domain names. After you map a custom domain name to the bucket, you can use the custom domain name to access the bucket.

AccessKeyId, AccessKeySecret
Enter the AccessKey pair of your account. For more information about how to obtain an AccessKey pair, see Create an AccessKey.
ImportantFor data security, log on to ossbrowser using the AK of a RAM user. To authorize files, you must also grant the
AliyunOSSFullAccess,AliyunRAMFullAccess, andAliyunSTSAssumeRoleAccesspermissions to the RAM user before you log on. For more information, see Permission management.
Preset OSS Path
Specify a preset OSS path if the current account has permissions on only a specific bucket or a path within a bucket, or if you log on using a CNAME. The format is oss://bucketname/path.
ImportantIf the bucket you are authorized to access has pay-by-requester mode enabled and you are not the bucket owner, select Pay-by-requester Mode. Otherwise, an
AccessDeniederror occurs when you try to access resources in the preset OSS path. After you select Pay-by-requester Mode, you can access the resources. You are charged for the traffic and requests generated from accessing the bucket. For more information about the pay-by-requester mode, see Pay by requester.
Region
If you specify a Preset OSS Path, specify the Region where the bucket in the path is located.

Keep Me Logged In
If you select this option, ossbrowser remains logged on the next time you start ossbrowser.

Remember
If you select this option, your AccessKey pair used to log on to ossbrowser is saved. The next time you log on, you can click AK History and select the specified AccessKey pair to log on.
WarningTo ensure security, we recommend that you do not select this option if you use a shared computer.

Log on using STS

When you log on using STS, you must specify the following configuration items.
Parameter
Description
Example
Endpoint
Default (Public Cloud): Uses the endpoint of the region where the destination bucket is located to log on. If you select this logon method, you can select HTTPS to encrypt the transmission process.
ImportantFor regions that do not support this access method, you must select Custom as the logon method.

Custom: If you select this logon method, you can use any endpoint of OSS in the public cloud. For more information about the mapping between regions and endpoints, see Regions and endpoints.
NoteIf you do not use an internal endpoint, Internet traffic is generated. You are charged for the generated traffic. For more information, see Traffic fees.

cname: If you want to access OSS resources using a custom domain name, you must first map a custom domain name. For more information, see Map custom domain names. After you map a custom domain name to the bucket, you can use the custom domain name to access the bucket.

AccessKeyId, AccessKeySecret, STS Token
The temporary access credentials obtained from STS. The temporary access credentials consist of an AccessKey pair and an STS token. For more information about how to obtain temporary access credentials, see Use STS temporary access credentials to access OSS.
NoteEnter an STS Token only if the AccessKeyId is in the
STS.XXXformat.
Preset OSS Path
Specify a preset OSS path if the current account has permissions on only a specific bucket or a path within a bucket, or if you log on using a CNAME. The format is oss://bucketname/path.
ImportantIf the bucket you are authorized to access has pay-by-requester mode enabled and you are not the bucket owner, select Pay-by-requester Mode. Otherwise, an
AccessDeniederror occurs when you try to access resources in the preset OSS path. After you select Pay-by-requester Mode, you can access the resources. You are charged for the traffic and requests generated from accessing the bucket. For more information about the pay-by-requester mode, see Pay by requester.
Region
If you specify a Preset OSS Path, specify the Region where the bucket in the path is located.

Keep Me Logged In
If you select this option, ossbrowser remains logged on the next time you start ossbrowser.

Remember
If you select this option, your AccessKey pair used to log on to ossbrowser is remembered. The next time you log on, you can click AK History and select the specified AccessKey pair to log on.
WarningFor security reasons, do not select this option if you use a shared computer.

Log on using an authorization code
Click Authorization code logon and enter the authorization code that you obtained.
Click Log On to log on to ossbrowser using the authorization code, as shown in the following figure.






