{"id":2394,"date":"2021-05-12T11:25:30","date_gmt":"2021-05-12T16:25:30","guid":{"rendered":"https:\/\/xlinesoft.com\/blog\/?p=2394"},"modified":"2021-05-12T11:26:46","modified_gmt":"2021-05-12T16:26:46","slug":"new-security-providers-in-version-10-6","status":"publish","type":"post","link":"https:\/\/xlinesoft.com\/blog\/2021\/05\/12\/new-security-providers-in-version-10-6\/","title":{"rendered":"New security providers in version 10.6"},"content":{"rendered":"<p>Enterprise Edition of PHPRunner and ASPRunner.NET provides Active Directory authentication option. It is a useful feature but it has some restrictions, for instance, you cannot use a hybrid database\/AD approach where some users will use Active Directory login and some others will have their usernames and passwords stored in the database. <\/p>\n<p>This changes in version 10.6 where Active Directory is no longer a replacement for database-based login but a supplement. Active Directory is now considered a &#8220;security provider&#8221; and works the same way as &#8220;Login via Google&#8221; or &#8220;Login via Facebook&#8221;. We are also adding new security providers like OpenID, SAML, AzureAD and Okta. <\/p>\n<p>This is how it works on the backend side. If you have used &#8220;Login via Google&#8221; or &#8220;Login via Facebook&#8221;, you should be already familiar with this concept. When user logs in via a third-party security provider we create a record in the users table with a unique id that for Facebook starts with <strong>fb<\/strong>, for Google it starts with <strong>go<\/strong>, and for Active Directory that prefix will be <strong>ad<\/strong>. <\/p>\n<p><a href=\"https:\/\/xlinesoft.com\/blog\/wp-content\/uploads\/2021\/05\/scr_ext_security_id.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/xlinesoft.com\/blog\/wp-content\/uploads\/2021\/05\/scr_ext_security_id.png\" alt=\"\" width=\"675\" height=\"296\" class=\"alignnone size-full wp-image-2403\" srcset=\"https:\/\/xlinesoft.com\/blog\/wp-content\/uploads\/2021\/05\/scr_ext_security_id.png 675w, https:\/\/xlinesoft.com\/blog\/wp-content\/uploads\/2021\/05\/scr_ext_security_id-300x132.png 300w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/a><br \/>\n<!--more--><\/p>\n<p>So, everyone who logged via AD will have a corresponding record in the login table. How is this useful? The question we get frequently is &#8220;will this work with Active Directory&#8221;, for instance, will the Chat template work if users are in the AD? The answer is no, YES! Since all users logged via AD now added to the login table they will be treated the same way as database users.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enterprise Edition of PHPRunner and ASPRunner.NET provides Active Directory authentication option. It is a useful feature but it has some restrictions, for instance, you cannot use a hybrid database\/AD approach where some users will use Active Directory login and some others will have their usernames and passwords stored in the database. This changes in version 10.6 where Active Directory is no longer a replacement for database-based login but a supplement. Active Directory is now considered a &#8220;security provider&#8221; and works the same way as &#8220;Login&#8230;<span class=\"clearfix clearfix-post\"><\/span><a href=\"https:\/\/xlinesoft.com\/blog\/2021\/05\/12\/new-security-providers-in-version-10-6\/\" class=\"more-link\">Continue Reading <span class=\"screen-reader-text\">&#8220;New security providers in version 10.6&#8221;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,10,1,8],"tags":[],"class_list":["post-2394","post","type-post","status-publish","format-standard","hentry","category-asp-net","category-news","category-php-category","category-tutorials"],"_links":{"self":[{"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/posts\/2394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/comments?post=2394"}],"version-history":[{"count":8,"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/posts\/2394\/revisions"}],"predecessor-version":[{"id":2404,"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/posts\/2394\/revisions\/2404"}],"wp:attachment":[{"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/media?parent=2394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/categories?post=2394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xlinesoft.com\/blog\/wp-json\/wp\/v2\/tags?post=2394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}