General
You don’t need to create members’ repository solution again and again for your MVC3 web applications, because this tool allows to manage the members in one place and has many options to customize the sign up and the sing in process. You can use this tool for your main domain and for sub-domains in the same time even for your development environment, because this solution has very very simple API to get Members, Roles and other stuff from the repository.
How to protect your application? Just add one attribute on a class (or a method) with a role definition, that’s all, so the authenticated members can use it only!
Member Role Admin Tool helps to support Single Sign On (SSO) concept for your ASP .NET MVC3 applications. Single Sign On (SSO) is a term used to indicate when a pool of applications need a centralized authentication, so that users login once and access to any application.
V1.0 Released – July 1, 2012
Product Description
Implementing a single sign on is quite simple, and can be done by configuring the applications using the web.config file and this tool will help you to create machine key (for validation and encryption/decryption proposes) and manage members (users) and their roles.
The general concept is this: members are created, activated, possibly approved by admin, roles are assigned to members. Members can self register and activate their account or admin can to do that.
Main Features
- Single Sign On concept support
- Public registration form
- Activation email
- Change password email
- Email templates support
- Audit Event log
- Machine Key Generator
- Mail domain restriction
- Bootstrap Themes
- Responsive design
- Simple API
- Live member search
- Secret admin URL
- Multilingual support ready
- Role / Member import & export via CSV
- Ability to change public form design
- Public forms default language
- Import/Export file example
- Member Profile
- Custom Member Profile Fields
Requirements
- MS IIS 7 /6
- ASP .NET 4.0 MVC3
- MS SQL Server 2008 (possible compact edition 4.0)
Browser support
Role Member Admin is tested and supported in major modern browsers like Chrome, Safari, Internet Explorer, and Firefox
- IE 8 +
- Chrome
- FireFox 3+
- Opera 11+
- Safari 5+
Package Content
The package contains:
- SimpleTools.RoleAdmin.Web – Admin application
- SimpleTools.Web.Example – Example application
- Demo.Export.Import.Files – export/import file example
- Database.Install.Script – Install SQL script
Install Admin Application
- Create empty database;
- Create database user and assign dbo rights to the user;
- Execute MS SQL Management Studio and execute Database.Install.Script\InstallDatabase-v1.0.sql
- Change connection string in Web.Config file in SimpleTools.RoleAdmin.Web, see example below:
Example:
<add key="SimpleTools.RoleAdmin.Connetion.String" value="server=localhost\SQLEXPRESS;database=SimpleTools.RoleMemberAdmin;user id=SimpleTools.RoleMemberAdmin; password=SimpleTools.RoleMemberAdmin" />
- Create web site in IIS or application in virtual directory and copy content of SimpleTools.RoleAdmin.Web folder. Remember that you must use .Net 4.0 application pull.
- Add read/write permission on avatar virtual folder for IUSER user.
- Set domain attribute in form tag to your root domain (without sub domain name) :
<forms loginUrl="~/Account/SignIn" protection="All" timeout="180" domain="mydomain.com" name="myApplicationCookie" path="/" requireSSL="false" slidingExpiration="true" enableCrossAppRedirects="true" defaultUrl="~/"/>
- Use the following admin login:
Name: [email protected]
Password: admin
URL : http://www.yourdomain.com/AdminRemember that you can change default admin URL in order to secure admin UI entry point.
- See Help & FAQ area on admin web site.
You can install the tool on your root domain (for instance accounts.mydomain.com) or use virtual path like this http://www.mydomain.com/security.
Install Small Demo Application
Example application helps to understand key concept of role and member admin tool in action:
- Create web site in IIS or application in virtual directory and copy content of SimpleTools.Web.Example Web folder. Remember that you must use .Net 4.0 application poll.
- Check web.config file and change accounts.yourdomain.com to you account URL :
<add key="ssoUrlSignIn" value="http://accounts.yourdomain.com/SignIn"/> <add key="ssoUrlSignOut" value="http://accounts.yourdomain.com/SignOut"/> <add key="ssoUrlSignUp" value="http://accounts.yourdomain.com/SignUp"/> <add key="ssoUrlForgotPassword" value="http://accounts.yourdomain.com/ForgotPassword"/> <add key="ssoUrlProfile" value="http://accounts.yourdomain.com/Profile"/> <add key="ssoAvatar" value="http://accounts.yourdomain.com/Avatar"/> <add key="ssoAPIUrl" value="http://accounts.yourdomain.com/Admin/API"/> <add key="ssoAPIMemberName" value="[email protected]"/> <add key="ssoAPIMemberToken" value="HYXMvDsQWhGhbShE7yS1"/>
You can install the tool on your root domain (for instance app.mydomain.com) or use virtual path like this http://www.mydomain.com/myapp.
Support your needs
If you have problems, questions, ideal, etc… Contact me via email [email protected] Please contact us with any questions you may have via the contact form on my author profile page. Updates – Available FREE to existing purchasers.