data-protection Questions

6

I am using VS 2022 with dotnet core web api and below is my code in Program.cs for data protection. string appName = "My_WebAPI"; var dataProtectionProvider = DataProtectionProvider.Creat...
Curhan asked 10/1, 2022 at 2:56

1

Is there a way in python to get the path to the in-memory file, so it'll behave as a normal file for methods which needs file path? My objective is to protect the file, so avoiding dumping into /t...
Uela asked 6/2, 2018 at 11:9

1

I used services.AddDataProtection().PersistKeysToFileSystem(path).ProtectKeysWithAzureKeyVault(authData). to encrypt data-protection keys. In 24 hours since deployment no new data-protection key wa...
Timetable asked 10/12, 2020 at 13:17

8

Solved

I was examining the ways of protecting my code from decompiling. There are several good threads here describing obfuscation and code packing as the possible ways of protecting the code. However non...
Leuco asked 21/10, 2011 at 12:50

2

Reading here: (https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html) Enabling Data Protection (iOS, WatchKit ...
Hypercatalectic asked 7/12, 2016 at 0:21

2

I have a ASP.NET Core application that uses cookie authentication and runs on web farm. The data protection keys are stored in DB. My application implements the IXmlRepository and the ASP.NET Core ...
Kiarakibble asked 24/5, 2019 at 16:46

3

Solved

We have an ASP.NET core 2.2 web application exposing some web api controllers. Our application does not have any kind of authentication mechanism, all the exposed endpoints can be called by an ano...
Eat asked 1/4, 2019 at 10:16

2

I have an netcoreapp2.2 containerized application that uses azure key vault to store keys and also uses: app.UseAuthentication(); And services.AddAuthentication(JwtBearerDefaults.AuthenticationSc...
Torsk asked 14/12, 2019 at 1:38

0

Problem isProtectedDataAvailable is true but applicationProtectedDataDidBecomeAvailable is getting called after 10~20 seconds in iOS which means isProtectedDataAvailable was supposed to be false b...
Paganize asked 11/12, 2019 at 9:12

1

Solved

I have an Asp.NET Core app with no special setup of DataProtection stack - just AddMvc. While everything works on IISExpress/(Kestrel), on the IIS server I got this error: 11/23/2016 18:50:14:warn...
Permanganate asked 24/11, 2016 at 9:59

2

Solved

I have many application which is hosted on main domain and sub domains: Website A, ASP.NET (.Net Core 2.0) at www.example.com Website B, ASP.NET MVC (4.7 .net Framework) at site.example.com We...

0

I am using Data Protection APIs from .NetCore, while unprotecting payload using DangerousUnprotect() from IPersistedDataProtector, I am getting said error message. I have created a single instanc...
Crystacrystal asked 25/3, 2019 at 6:26

2

Solved

So I am working on a app which stores user information with CoreData framework locally. The information can be sensitive, so I am thinking how to protect the information stored to the data base. In...
Selfhypnosis asked 21/12, 2016 at 0:5

0

According to ASP.NET Key Management, Deleting a key is truly destructive behavior, and consequently the data protection system exposes no first-class API for performing this operation. Is the...

1

GDPR specifies that personal data must: Those measures may include pseudonymisation provided that those purposes can be fulfilled in that manner. Where those purposes can be fulfilled by fur...
Bloomy asked 14/5, 2018 at 8:20

1

I am running into this problem relating to the DataProtectionProvider, first we only had 2 .NET Framework projects, now a .NET Core project is added which confuses me how to do the following: Gener...
Puffer asked 19/2, 2018 at 12:21

1

I'm trying to configuring data protection and to use the certificate to protect key files. Here is the MS documentation Configuring data protection Here is what I'm trying to do: services .AddData...
Frech asked 29/8, 2017 at 19:29

6

Solved

I'm writing an iPhone application that requires its data to be encrypted. I've learned how to turn on encryption for files by setting the NSFileProtectionComplete attribute. I also know how to chec...
Isochronize asked 27/9, 2010 at 17:55

4

Solved

I am trying to protect my KML file, from being downloaded or its data extracted easily. All I want is the file to be viewed in google maps or google earth, but no one is allowed to download it or e...
Basal asked 16/5, 2012 at 22:18

2

Solved

What is the default value of the attribute NSFileProtectionKey? There are four possible values, but which one is the default one? NSFileProtectionNone NSFileProtectionComplete NSFileProtectionCom...
Kunzite asked 15/1, 2015 at 10:9

7

Just saw the Session 209 - Securing Application Data from de 2010 WWDC. The keynote explains a lot of things, including the way you can set data protection attributes to your files (NSFileProtecti...
Cosmetician asked 1/3, 2011 at 14:24

1

Ever since the release of Xcode 5.0, there has been a new edition of the Capabilities tab in the target settings of an Xcode project. It includes the ability to configure the entitlements on your p...
Plumbism asked 27/3, 2014 at 23:50

1

Solved

I am trying to protect sensitive data stored in NSURLCache. My app's files and Core Data sqlite files are set to NSFileProtectionComplete. However, I am unable to change the NSURLCache files data p...
Speos asked 13/1, 2015 at 23:27

4

Solved

I'm looking to encrypt user data in an app, and the NSFileProtection mechanism looks perfect for this. This SO Question / Answer thread pointed me at the WWDC 2011 Video Securing iOS Apps which ga...
Eryn asked 6/2, 2013 at 17:6

3

Solved

This is a recurring question on the website, but after spending 20 minutes browsing through old questions I was unable to find a modern day solution. I've previously employed this JS-based method ...
Almeta asked 5/3, 2015 at 14:30

© 2022 - 2024 — McMap. All rights reserved.