VRose
How does tokenization work to protect sensitive data?
So tokenization is basically taking an input for let's say an id 123-456-789, store the real id in database1 then tokenize the id into a systematic id like 000-000-001 then store the token into database2?
But how are the data even getting secured if the original data still exists as its in database1?
7 replies
Modifying the hosts file through c# code
I've been trying to modify the hosts file in Windows using C# .NET windows desktop app, but no matter what I try, I always get the error
Access denied
even though I do run my code as admin.
I've tried :
1. manually opening the hosts file and writing to it
2. running a cmd script as admin (that usually works when manually ran) but it didnt work when I called it from my code
3. running a ps script (that also works when ran manually) but didn't work when ran inside my c# code.
So how can I do this..? Seems like I just can't modify the hosts file at all in C# even with admin privileges6 replies
ASP.NET Core Blazor + EF error
I'm programming an ASP.NET Core Blazor and I'm using Entity Framework to contact the database. Everything works fine except when I use an async function which queries the database. I get the following error:
Although I've set the Microsoft SQL Server connection timeout to none yet this still happens
and here's the code for that function:
78 replies
❔ Filling RDLC report table with a custom SQL query.
How can I fill an RDLC report table from a custom sql query that gets data from several tables?
I tried making a dataset but the RDLC report only takes a datasource from one table. So how can I get around thisissue?
2 replies
❔ Storing & retrieving face encodings to compare
What's the best way to store face encodings (an array of size 128 and type float64) in a database and then retrieve it? I tried encoding it to a BLOB but then when I use but it still doesn't return anything although I'm getting the face encoding of the same person that's registered in the SQL database
2 replies