Base solution for your next web application
Open Closed

Data Retrieval without Authorization. #3745


User avatar
0
gbadenhorst created

Hi,

Is it possible and if yes how can i get a list of data without logging in and displaying it on a custom page or on the public web page project?

I am busy with creating an online store and the only thing i am struggling with at the moment is displaying the products catalog on the main page before login/registration.

I hope this is not a too unreasonable question to ask as i am kind of not very informed regarding security and the works of this templates authorizations.

Thank you in advance.

Regard, Gideon Badenhorst


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    Hi

    ApplicationServices can be used without authorization. For this you need to remove [AbpAuthorize] attribute from ApplicationService. <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Authorization">https://aspnetboilerplate.com/Pages/Doc ... horization</a>