Authorization for webpage access in the APP

Source: Internet
Author: User
When token is used as the user's authorization and Authentication mode, if you access a Web page in the APP, how do you obtain the user's permissions on the Web page? The APP carries a token to confirm its identity when accessing the APP. Then, the APP accesses an HTML page provided by the same backend. How can this page be accessed? TokenIn user authorization and Authentication mode, if you access a Web page in an APP, how do you obtain the user's permissions on a Web page?

The APP carries a token to confirm the identity when accessing the APP. Then, when accessing an HTML page provided by the same backend in the APP, How can I obtain the user identity of the current APP on the page? If you directly attachTokenWill it be exposed if the network is sniffed?

Reply content:

In useTokenIn user authorization and Authentication mode, if you access a Web page in an APP, how do you obtain the user's permissions on a Web page?

The APP carries a token to confirm the identity when accessing the APP. Then, when accessing an HTML page provided by the same backend in the APP, How can I obtain the user identity of the current APP on the page? If you directly attachTokenWill it be exposed if the network is sniffed?

Add the Problem description to the subject ~~

1. the token is designed to make it more difficult to use it after being sniffed.
2. Full-site https

Use session or js to call the app native method to obtain the user's permissions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.