Posts

Azure AD B2C

What is Active Directory? Active Directory, or AD, has a lot of cool features and is used for all sorts of things, but at its heart is nothing more than an identity store for your organization. It keeps a record of who is in your organization and authenticates the user based on their credentials and entitlements. Azure AD extended a lightweight version of that to the cloud, but the core concept remains pretty much the same, just with cool cloud features. Azure AD B2B Collaboration then allowed us to grant access to internal resources to business partners using their own Microsoft or Azure AD identity. That brings us to Azure AD B2C . Azure AD B2C is a directory service that leverages identity stores outside of your company. More specifically, it is an authentication service for publicly facing applications. It integrates with other third-party identity providers such as Google+, Facebook, Amazon, or LinkedIn to provide a one-stop shop for authentication. It acts as an alternati

SQL Server 2016 TDE ( Transparent Data Encryption)

Image
Transparent Data Encryption is designed to protect data by encrypting the physical files of the database, rather than the data itself These physical files include the database file (.mdf), the transaction log file (.ldf) and the backup files (.bak). Its main purpose is to prevent unauthorized access to the data by restoring the files to another server.  With Transparent Data Encryption in place, this requires the original encryption certificate and master key. The protection of the database files is accomplished through an encryption key hierarchy that exists externally from the database in which TDE has been enabled. The service master key exists at the instance level. The database master key and certificate at the Master database are used to protect the database encryption key that is located at the user database The dependency upon the encryption key hierarchy in the Master database, as well as the instance, prevents the database files from being restored to an instan

SQL Server 2016 - Data masking

Dynamic Data Masking(DDM) SQL Server 2016 introduced dynamic data masking (DDM) as a way to prevent unauthorized users from viewing sensitive information. The database engine masks the data when it is retrieved from the database, based on masking rules defined on the column schema.  IMPORTANT - The data stored within the database remains unchanged. When a user queries the database, the database engine determines whether that user account has the permissions necessary to access the data in its unmasked state It is implemented within the database itself, the logic is centralized and always applies when the sensitive data is queried. It is quite simple to configure DDM rules on sensitive column Key points to consider; DDM is not a replacement for security access control mechanisms, nor is it a method for encrypting physical data.  Data masking performance impact is minimal and often negligible SQL Server 2016 and Azure SQL DB are the only platforms supporting data maskin

Role types in Dotnetnuke Vs SharePoint

Here are the role types used in SharePoint & there rights, Administrator: Has all rights from other site groups, plus rights to manage site groups and view usage analysis data. The Administrator site group cannot be customized or deleted, and there must always be at least one member of the Administrator site group. Members of the Administrator site group always have access to, or can grant themselves access to, any item in the Web site.   All rights included in the WebDesigner site group, plus the following: ManageListPermissions, ManageRoles, ManageSubwebs, ViewUsageData. Contributor: Have Reader rights, plus rights to add, edit, and delete items, manage list permissions, manage personal views, personalize Web Part Pages, and browse directories. Contributors cannot create new lists or document libraries, but they can add content to existing lists and document libraries. All rights included in the Reader site group, plus the following: AddDelPrivateWebParts, AddL

NUnit

What Are Unit Tests? A unit test is nothing more than the code wrapper around the application code that permits test tools to execute them for fail-pass conditions. NUnit NUnit is a unit-testing framework for all .Net languages.     It’s open source and free; it’s being actively developed, and it meshes well with .NET. Unit tests in NUnit are nothing more than methods in a class. The key is that these methods and classes are decorated with custom attributes. The TestFixture attribute identifies this class to NUnit as a class that contains tests. The Test attribute identifies the Create Transformer method as a unit test. It’s a very simple test: All it does is make sure that a new instance of a particular class can be created without raising an exception. NUnit tests can also check the results of an operation It doesn’t matter whether you keep your tests in the same assembly as the actual code or in a completely different project.   You don't need to do anything b