开发者

Unique web site administration tool

开发者 https://www.devze.com 2023-02-23 05:51 出处:网络
i\'d like to create a Unique Web Site Administration Tool (UWSAT) to admin all users for all my websites on production server.

i'd like to create a Unique Web Site Administration Tool (UWSAT) to admin all users for all my websites on production server.

Basically the idea is to have the UWSAT with only an admin user; when the admin log the tool he could navigate the applications, select one and see its users . He could add new user to an existing application, or create a user specifying a new application name (as far as i know that create the application too).

The problem i'm facing is that to add a user to an application i have to set the Membersh开发者_如何学Pythonip.ApplicationName but i read this should be avoided.

So i ask you : should i create a different MembershipProvider for each application and call it when i have to manage users for that application?

Thanks.


I recommend creating a role, and assigning it to the users. The role would be the application they should have access to.

The RoleProvider is one way to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号