of the functionality in the members, Role Manager, and form authentication features. Certification and AuthorizationAsp. NET supports the use of basic, Digest, and Windows authentication together with IIS. Asp. NET supports the Microsoft Passport Authentication Service, which supports the single sign-on service and the User Configuration service. Asp. NET also supports a powerful service that uses forms-based authentication. forms-based authentica
user account, allowing you to use the built-in security mechanisms of the OS to protect files and other resource files from unauthorized access by users who are not granted rights.
2. Passport verification: Relying on MS Passport to authenticate the user, the best example is the MSN, the more the case for everyone to download the Passport Sdk,ms website has
3.
This article mainly introduces the ASP. NET MVC SSO Single Sign-on design and implementation, with a certain reference value, interested can understand.
Lab Environment Configuration
The host file is configured as follows:
127.0.0.1 app.com127.0.0.1 sso.com
IIS is configured as follows:
Application pools with the. Net Framework 4.0
Note The IIS-bound domain name, two completely different domain names.
The App.com website is configured as follows:
The Sso.com website is configured as follows:
Cross-primary domain to realize the idea of SSO
The same primary domain (that is: all sub-domains under the same first-level domain name) including multi-server sharing session data implementation of many methods, here is not much to say!
The key issue now is the implementation of SSO for different primary domains! This problem is more complex, can be achieved, but many are supported by a number of special software systems ...
In fact, the session is also required to support the cookie, the c
Each channel is located in a different Web Project (with an independent second-level domain name), and all business logic and data access functions are encapsulated into a Class Library. All channels share this Class Library.
The implementation method is described in detail below.
Assume that the website has three channels: news, forums, and blogs. The corresponding second-level domain names are "news", "forum", and "blog ". In addition, two domain names need to be defined for the website homepa
directoryConst king_upath = "up_files" is recommended to be modified. After modification, the file system automatically generates the folder. It is not recommended to modify the folder after the website is built, which will cause an error in the file upload path on the Content Page.
'Do not modify the pagination tag of the pagination TAG content page. If you modify the tag, you must make sure that it is a complete set of labels. "display: none" indicates that the content is not displayed withou
documents (other brokers are to be mailed, about 7-20 working days, 200-300 yuan of postage)!! This is a great benefit to the students to open an account!!5, Scottrade account efficiency is very high, if the electronic documents submitted without problems, today application, tomorrow will be able to open an account; remittance tomorrow, the night after the operation!6, fill in the recommended code (89029296) can get three free transactions!December 2014, the author personally opened an account
');$class_name = ucfirst(MEMBER_TYPE) . 'Passport';$ms = new $class_name();
Contains the DefaultPassport class in default. passport. php, and inherits BasePassport, which has several lines of code
$user_class_name = ucfirst($this->_name) . 'PassportUser';$this->user = new $user_class_name();
So $ this-> user in the program is like this.
$ User_class_name is actually the DefaultPassportUser class in incl
+ ‘, y = ‘ + y + ‘, z = ‘ + z);
note When an array element is deconstructed and assigned, multiple variables are [...] enclosed.
If the array itself is nested, you can also use the following form to deconstruct the assignment, noting that the nesting level and position should be consistent:let [x, [y, z]] = [‘hello‘, [‘JavaScript‘, ‘ES6‘]];x; // ‘hello‘y; // ‘JavaScript‘z; // ‘ES6‘Deconstruction assignments can also omit certain elements:let [, , z] = [‘hello‘, ‘JavaScript‘, ‘ES6‘
The lab environment configuration host file is configured as follows:127.0.0.1 app.com127.0.0.1 sso.comIIS is configured as follows:Application pools with the. Net Framework 4.0Note The IIS-bound domain name, two completely different domain names.The App.com website is configured as follows:The Sso.com website is configured as follows: Memcached cache:Database configuration:The database uses EntityFramework 6.0.0, and the first run automatically creates the corresponding database and table struc
';
Myapp.version = 1.0;
Other functions:
Myapp.foo = function () {return
' foo ';
};The variable scope of JavaScript is actually inside the function, and the loop variables defined in the statement block such as for loop are valid inside the function. In order to solve block-level scope, ES6 introduced a new keyword let, with let substitution var can declare a block-level scope variable var and let declaration is variable ES6 standard introduced a new keyword const to define constants, bot
MDaemon is a very good mail server software, here to introduce mdaemon with peanut shells Dynamic domain name to build mail server installation and some of the main settings.The first step: Establish the network communication Section, for the establishedMAILService settings Dynamic Domain name Resolution service configuration 1. Download peanut shell Dynamic Domain name resolution software and install.2. Run peanut shell software, click "Registered Oray Pass
easy. You can get it from all kinds of places, including any. NET service or application installer. The Windows server that is released in the months after Windows XP will contain the CLR.
Three cores or foundations,. NET service will appear with Windows XP packaged together. This side includes the Microsoft Validation Service passport.net,.net events, announcements, and collection services established remote voice and image calls.
Passport becomes
The same primary domain (that is, all the subdomains under the same level of domain name) includes multiple server sharing session data implementation methods Many, here is not much to say!
The key issue now is the implementation of SSO for different primary domains! This problem is more complex, can be achieved, but a lot of the use of a special software system to support ...
In fact, the session also needs cookies to support, the cookie does not support across the primary domain determines t
Each channel is located in different Web Project (with a separate level two domain name) and encapsulates all business logic and data access functionality into the class library, which is shared by all channels.
The implementation method is described in detail below.
If the site has three channels, news, forums and blogs, the corresponding level two domain name for "news", "Forum", "blog." In addition, also need to define another two domain names, respectively for the home page and user registra
ASP. net mvc sso Single Sign-on design and implementation code, mvcsso
Lab environment Configuration
The HOST file is configured as follows:
127.0.0.1 app.com127.0.0.1 sso.com
The IIS configuration is as follows:
The application pool uses. Net Framework 4.0
Note that the domain name bound to IIS is two domain names that are completely different from each other.
The website configuration for app.com is as follows:
The sso.com website configuration is as follows:
Memcached cache:
Database Conf
Authentication and authorization
ASP. NET and IIS are used together to support authentication, and basic, brief, and Windows authentication are used. ASP. NET supports the Microsoft Passport Authentication Service, which provides a single Logon Service and support for the user configuration file service. ASP. NET also provides reliable services for applications that require form-based authentication. Form-based authentication uses cookies to authentic
What should I do if destoon does not jump to the ucenter integrated registration page?
After destoon integrates the ucenter, the registration page is not redirected.Generally, the ucenter is used as the intermediary, and multiple applications are added, so that multiple sites can log out synchronously. It is not difficult to add an application to the ucenter. There are also related tutorials on the destoon official website.Sometimes, after several applications are added, the problem occ
ASP. net mvc sso Single Sign-on design and implementation, mvcssoConfigure the HOST file in the experiment environment as follows:
127.0.0.1 app.com127.0.0.1 sso.comThe IIS configuration is as follows:
The application pool uses. Net Framework 4.0
Note that the domain name bound to IIS is two domain names that are completely different from each other.The website configuration for app.com is as follows:
The sso.com website configuration is as follows: memcached cache:
Database Configuration:
Th
Application method of dynamic domain name of peanut shell (detailed)1. First login Peanut Shell website http://www.oray.com/, select "Peanut Shell" in the navigation bar, then click "Peanut Shell Download", select the download version according to the need, I use "Peanut Shell Dynamic Domain 6.0 official version", download the interface as follows: 650) this.width=650; "alt=" Peanut shell Dynamic Domain name Detailed trial method-small fly-flying Sky "height=" 269 "src=" http://img.ph.126.net/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.