user-management

Does CodeIgniter's sess_create() delete previous session?

半腔热情 提交于 2019-12-11 01:13:49
问题 I am going to create a function called login_as_member($member_id) that lets the admins log in exactly as a member. In member login() method, I've used sess_created() . Now I want to see whether I use that method or not? For sure, I do not want the admin to be logged out when loggin as member. Please tell me if using that method corrupts admin's current session or not. In fact I'd like to know what exactly does sess_create() does? 回答1: sess_create() will create a new session for the user. The

ASP.net Identity - How does UserManager<TUser> Have Access To Roles?

微笑、不失礼 提交于 2019-12-10 17:21:21
问题 ... and we're only inside Microsoft.AspNet.Identity. (We're not even looking at the base implementation at Microsoft.AspNet.Identity.EntityFramework.) The UserManager class only takes in an IUserStore<TUser> at constructor. It does not have an IUserRoleStore<TUserRole> which I imagine would need to be accessed to determine whether UserManager.IsInRoleAsync(string, string) or not. I'm thinking UserStore's implementation would have an IsInRoleAsync(string, string) function as well (then it

How to edit Edit Profile And View Profile page (Joomla 2.5)

泪湿孤枕 提交于 2019-12-09 23:14:43
问题 I have created web-application using Joomla 2.5. In that I have used Joomla user management. I have kept menu as View Profile & Edit Profile (Menu Item Type as Users Manager » User Profile). The problem is when I click on View Profile, I get un-wanted data also as shown below. Basic Settings Editor: Editor - JCE Time zone: No Information Entered Frontend language: No Information Entered Backend Template Style: No Information Entered Backend language: No Information Entered Help Site: No

Add admin page without full fledged user management

左心房为你撑大大i 提交于 2019-12-08 06:45:33
问题 I am building a rather simple site with ASP.NET Core MVC 2.0 that is more or less an image gallery, just for me. I am not using any database so far. It is just a json file with metadata and the image files itself. Now this site is supposed to get a hidden admin page where I (and only I) can upload new pictures. What would be a simple but still secure way to add this admin page without having to introduce a full fledged user management to the site? I'd like to avoid to add a database and

How do I manage ASP.Net users on a non development server?

流过昼夜 提交于 2019-12-08 02:01:48
问题 In Visual Studio 2010 there is a handy tool for managing users for my Silverlight Business Application. How do I do this with my deployed application? 回答1: Sorry to say, but you will have to write user management code in your app. You might find this article interesting. http://www.4guysfromrolla.com/articles/052307-1.aspx 回答2: Good question, I'm surprised there isn't a built-in, pre-canned solution :) There's an option here: http://mywsat.codeplex.com/ Related questions: is it possible to

ASP.NET MVC 4 How to manage userid and user content inside controllers

孤者浪人 提交于 2019-12-06 16:00:33
问题 To learn the ASP.NET MVC 4 patter I'm developing and application that has to manage some data and user content. This is the database: public DbSet<UserProfile> UserProfiles { get; set; } public DbSet<Fund> Funds { get; set; } public DbSet<Source> Sources { get; set; } public DbSet<Portfolio> Portfolios { get; set; } public DbSet<Quote> Quotes { get; set; } public DbSet<Deposit> Deposits { get; set; } Where relationship cardinalities are: UserProfile (a user) - Portfolio: 1-N UserProfile -

How do I manage ASP.Net users on a non development server?

二次信任 提交于 2019-12-06 08:09:42
In Visual Studio 2010 there is a handy tool for managing users for my Silverlight Business Application. How do I do this with my deployed application? Sorry to say, but you will have to write user management code in your app. You might find this article interesting. http://www.4guysfromrolla.com/articles/052307-1.aspx Merenzo Good question, I'm surprised there isn't a built-in, pre-canned solution :) There's an option here: http://mywsat.codeplex.com/ Related questions: is it possible to use iis 7 to manage users when using forms authentication with asp.net User management in Silverlight,

Best starting point for a website with user management functionality

假如想象 提交于 2019-12-05 02:16:40
问题 I'm about to start creating a new website that has standard user management (customers login and handling (change customer details etc) + my own functionality. I'm looking for the most efficient way to do it. I know PHP/CSS/Jquery quite well. I have looked into Drupal as a starting point and found it too cumbersome for my needs. CodeIgniter and PHPcake seems not to be efficient because I'll spend time learning the platform instead of developing (which I would love to do, but not currently).

Symfony2/FOSUserBundle - Route issues with multiple bundles

自闭症网瘾萝莉.ら 提交于 2019-12-04 23:54:21
问题 Similar to this problem, I need a separate login for both the admin and front end bundles of my site. The admin is actually a separate bundle located in vendors . Right now, my routing looks like: app/config/routing.yml: AcmeSiteBundle: resource: "@SiteBundle/Resources/config/routing.yml" prefix: / AcmeAdminBundle: resource: "@AdminBundle/Resources/config/routing.yml" prefix: /admin/ Both of the bundles' individual routing.yml files have: fos_user_security: resource: "@FOSUserBundle/Resources

How to properly do delegated user self-administration with Keycloak

∥☆過路亽.° 提交于 2019-12-04 22:16:44
问题 I’ve got questions on how to properly do delegated user self-administration with Keycloak. Some background information: We are working with hundreds or even thousands of organizations for which we want to manage access to our applications. Some of these organizations are our internal divisions for which we have active directories. Users from these organizations can be integrated through “User Storage Federation” and they will continue to be maintained in the respective directories. Some of