data-protection

What is the best way to protect sensitive data in the code?

落爺英雄遲暮 提交于 2019-12-02 20:26:33
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 reflection when the string method/property names are used. Many people do not recommend to use obfuscation at all. So I currently decided not to go with any of the above. However , I have parts of the code where I need a sort of encryption , for example, a database connection string with an IP, login and password is stored inside the code as simple

How do I prevent people from stealing photos from my website?

為{幸葍}努か 提交于 2019-12-02 03:30:24
问题 I am designing a photography website for a client. The client requested that I make sure no-one "steals" her photos from the website. As far as I know there is absolutely no way to do this reliably. Obviously disabling right click with JavaScript is very easy to get around. Even creating the website in Flash does not solve the problem because anyone can just take a screen-shot and easily get anything they can see on the screen. Short of putting a watermark or logo on each picture, is there

How do I prevent people from stealing photos from my website?

旧街凉风 提交于 2019-12-02 02:45:01
I am designing a photography website for a client. The client requested that I make sure no-one "steals" her photos from the website. As far as I know there is absolutely no way to do this reliably. Obviously disabling right click with JavaScript is very easy to get around. Even creating the website in Flash does not solve the problem because anyone can just take a screen-shot and easily get anything they can see on the screen. Short of putting a watermark or logo on each picture, is there any way to make sure no-one takes pictures off the site? I am pretty sure your only options that do

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

假如想象 提交于 2019-12-01 15:55:07
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 project, and use it in the .NET Core project. Both use the same database and user table, which have been made compatible with each other. .NET Framework is still the leading project in Code-First database generation. In both .NET Frameworks projects, I use one shared code bases, which has the following code: //not sure where I got this from but it is

ASP.Net Core Data Protection API in a Clustered Environment

旧时模样 提交于 2019-12-01 06:24:18
I'm having difficulty understanding the Data Protection API. I'm wanting to set up some net core web applications in a clustered environment (service fabric). Previously what you'd do is just ensure that each machine has the same key in its web.config. Simple. With the new data protection API it seems a little ( lottle !) bit more involved. From the documentation here it appears that it should be as simple as setting up the Data Protection service with the appropriate certificate. However I tried this: public static void Main(string[] args) { // add data protection services var

ASP.Net Core Data Protection API in a Clustered Environment

☆樱花仙子☆ 提交于 2019-12-01 04:48:12
问题 I'm having difficulty understanding the Data Protection API. I'm wanting to set up some net core web applications in a clustered environment (service fabric). Previously what you'd do is just ensure that each machine has the same key in its web.config. Simple. With the new data protection API it seems a little ( lottle !) bit more involved. From the documentation here it appears that it should be as simple as setting up the Data Protection service with the appropriate certificate. However I

Enable iOS On-Disk Encryption

血红的双手。 提交于 2019-12-01 03:23:25
For my iOS 6+-only app, I would like to enable the On-Disk Encryption offered from iOS. I read this guide and I saw the "Protecting the User's Data" video of the WWDC 2012 (Session 714). However, I could not make it work. Here are the steps I followed: 1- In the iOS Dev Center , I created a new App ID with: 2- In Xcode, I added an Entitlements file with the key: 3- On the device, I activated a passcode lock. If I'm not wrong, this should be all. I now expect that while the device (in my case: an iPhone 5) is locked, protected files are inaccessible. But... if I use iExplorer , I can easily

Why does Google +1 record my mouse movements? [closed]

与世无争的帅哥 提交于 2019-11-29 18:35:48
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 written about it. Is it recording information about my visitors browsing habits? Is it some sort of CAPTCHA to detect human like behviour? Example URL, press F12 in chrome, go to timeline and press record, then move your mouse around this page (it plus ones this question, don't worry): https://plusone.google.com/u/0/_/+1/button?hl=en-US&jsh=r%3Bgc%2F22224365

File system encryption for IOS?

笑着哭i 提交于 2019-11-29 02:54:21
问题 I know on Mac OS,we can use Macfuse for write a file system in user space,we can create a box encryption. I don't know on IOS has a framework,library like FUSE,Macfuse that i can write my file system for encryption/decryption file (possible mount on a directory/folder). Can anyone point me a solution? 回答1: As for built-in iOS support, there are a number of options, varying from a per-file basis to encrypting the entire sandbox of your app. I suggest you read Protecting Data Using On-Disk

Why does Google +1 record my mouse movements? [closed]

允我心安 提交于 2019-11-28 13:11:21
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . 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 written about it. Is it recording