Questions tagged [data-protection]

Tag for questions relating to personal data protection, and legal issues regarding privacy.

The Data Protection Act (DPA) is law in most countries with a number of rules and regulations concerning personal and private data.

  • Data is processed fairly and lawfully
  • Data shouldn't be given away without permission
  • Data should be relevant and not excessive
  • Data should be accurate and up to date
  • Data should only be kept for as long as necessary
  • Individuals have the right to check data which is about them
  • Data should be securely kept
  • Data must not be transferred to another country without adequate data protection

People involved include the data subject - the person who the data is about and the data controller - the person in charge of handling the data.

302 questions
195
votes
9 answers

Why does Google +1 record my mouse movements?

This is only on pages with a Google +1 box on my website: It seems to be firing off an event on every mouse move. Anyone know what it is doing? I searched on Google (perhaps I should try Bing for once on this one!) but no one seems to have…
Tom Gullen
  • 61,249
  • 84
  • 283
  • 456
45
votes
4 answers

Using in memory repo for data protection when running in IIS

I'm running a production server (Windows Server 2012) with an AspNet Mvc Core RC1 website. I'm seeing the following in the logs: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable…
mrahhal
  • 3,322
  • 1
  • 22
  • 41
39
votes
6 answers

How can I find out if the iPhone user currently has a passcode set and encryption enabled?

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 check the iPhone version to make sure they are running…
Mike
  • 1,727
  • 2
  • 19
  • 32
26
votes
7 answers

Implementing and Testing iOS data protection

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 (NSFileProtectionComplete, NSFileProtectionNone) and how to decide…
Omer
  • 5,470
  • 8
  • 39
  • 64
23
votes
8 answers

How can one protect sensitive data in the code?

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 none of them is ideal, obfuscation doesn't work with…
net_prog
  • 9,921
  • 16
  • 55
  • 70
21
votes
6 answers

Client/JS Framework for "Unsaved Data" Protection?

We have a typical web application that is essentially a data entry application with lots of screens some of which have some degree of complexity. We need to provide that standard capability on making sure if the user forgets to click the "Save"…
Kevin Dostalek
  • 736
  • 1
  • 5
  • 8
20
votes
1 answer

Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits

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: Microsoft.AspNetCore.Session.SessionMiddleware[7] …
Skorunka František
  • 5,102
  • 7
  • 44
  • 69
20
votes
13 answers

How to protect your software code?

Possible Duplicates: How do you protect your software from illegal distribution? Best practice to prevent software copy Hypothetical situation: Lets say I have built a software product from the scratch and it does wonderful things. The only…
user244333
18
votes
1 answer

Path to in-memory-file without dumping in tmp

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 /tmp. Trying to read an encrypted file -> decrypt a…
Shubham Jain
  • 876
  • 1
  • 9
  • 17
14
votes
0 answers

isProtectedDataAvailable is returning true always in iOS

Problem isProtectedDataAvailable is true but applicationProtectedDataDidBecomeAvailable is getting called after 10~20 seconds in iOS which means isProtectedDataAvailable was supposed to be false before that callback is called. I am working on iOS…
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
13
votes
2 answers

How does iOS data protection work

I have a quick question: I downloaded an iOS application that uses the NSFileProtectionComplete class to protect a sqlite file that contains sensitive information. According to the iOS security documentation…
Sec
  • 131
  • 1
  • 1
  • 5
13
votes
2 answers

How is access for private variables implemented in C++ under the hood?

How does the compiler control protection of variables in memory? Is there a tag bit associated with private variables inside the memory? How does it work?
Sharat Chandra
  • 4,434
  • 7
  • 49
  • 66
12
votes
1 answer

RsaProtectedConfigurationProvider vs DataProtectionConfigurationProvider

What are the cases when RsaProtectedConfigurationProvider should be used instead DataProtectionConfigurationProvider and vice-versa?
petkov_d
  • 133
  • 1
  • 7
11
votes
3 answers

ASP.NET core 2.2 web api logs warnings related to data protection keys: how should we handle this issue?

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 anonymous user. When we host the application under IIS…
Enrico Massone
  • 6,464
  • 1
  • 28
  • 56
11
votes
1 answer

Data Protection provider across Asp.NET Core and Framework (generate password reset link)

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: Generate a password reset link from a .NET Framework…
CularBytes
  • 9,924
  • 8
  • 76
  • 101
1
2 3
20 21