Home / Installation / Database Tier
The PxStat Application Data Base Tier Installation and set up.Please read the Requirements first.
Create a SysAdmin user (DB_SYS_ADMIN
) with SQL Server Authentication.
N.B. You can skip this step if you have already a SysAdmin user in your SQL Server instance.
The items selected in blue are optional depending on your organisation's password policy.
Install the AlwaysEncrypted Certificate on the Server.Check out the Installation of Always Encrypted Certificate.
N.B. You must run Windows Powershell as Administrator.
Open the/db/install.ps1
script in Windows PowerShell and execute it.
Follow the instruction on screen and provide the required information when prompted. This will create the Database
, Data Model
, User
, Types
, Views
, Stored Procedures
, Jobs
.
N.B. The above script created the application user pxstat
with a random password for security reasons. Please change the password for the pxstat
login using SSMS.
SYS_ADMIN_USER
.
N.B. This should be done locally on the server. To add the encryption to the database you will need to be logged into the Sql Server box and run SSMS (SQL server Management Studio) as an Administrator.
The TD_DATA.TDT_VALUE
and TD_MATRIX.MTR_INPUT
columns need to be encrypted.
Use the Object Explorer to locate the database:
New Column Master Key...
.CMK
.Windows Certificates Store - Local Machine
and then select your Always Encrypted SSL certificate from the list.New Column Encryption Key...
.CEK_MTR_INPUT
.CMK
.CEK_TDT_VALUE
.Encrypt the columns in the Database as SYS_ADMIN_USER
.
Apply the encryption settings to the columns TD_MATRIX.MTR_INPUT
and TD_DATA.TDT_VALUE
by browsing the table and selecting the needed column(s) for encryption.
TD_MATRIX
.MTR_INPUT
and select Encrypt Column.Deterministic
(recommended over Randomized
, unless you have a specific business case).TD_DATA.TDT_VALUE
.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4