Open Closed

About best practice for calling API from a webpage without login #5371


User avatar
0
portx-dev created

I am developing a web application with (UI type**: Angular) in ABP. There is a requirement to call server-side APIs to obtain and display necessary information (for example, the unit name of an organization, etc.) on a specific web page without login. Is there any best practice for achieving this requirement while maintaining security?

  • ABP Framework version: Commercial 7.2
  • UI type: Angular
  • DB provider: EF Core

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    There is no best practice for anonymous API calls.

    Do not return any sensitive data, as it is allowed to call anonymously.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19