Home > Net >  Great god here hangfire background timing task management, how to limit only administrators can view
Great god here hangfire background timing task management, how to limit only administrators can view

Time:11-16


Is this interface, if my website released, users have direct access to http://website/hangfire is not directly to view the scheduled program interface,
How can I limit once, let the administrator logged in to view this interface,

CodePudding user response:

First of all, don't log in to view this page content?

CodePudding user response:

Learn to "log in" design,

CodePudding user response:

See documentation on http://docs.hangfire.io/en/latest/configuration/using-dashboard.html#configuring-authorization

CodePudding user response:

Redirect Redirect page

CodePudding user response:

Add an if judgment line not line?

CodePudding user response:

You not like that, is the local log in, don't do access check, put public a try, you can't open it, it is now accepted design, local don't do check, open networks outside must have authority
  • Related