protection

Excel thinking cells are locked when they aren't

无人久伴 提交于 2019-12-11 19:23:22
问题 I have quite a complicated workbook which i have very heavily locked down so it cant lose its structural integrity when being used by the user. It works like a dream in Excel 2003, 2007 and 2010 however when i use it in 2013 if i try and type in to an unprotected cell excel thinks that its protected, i can then unprotected the sheet manually and it still wont let me type in to the cell im then mysteriously allowed to unprotected the worksheet AGAIN and then it allows me to enter in to the

Using Prototype's Class.create to define private/protected properties and methods

孤街浪徒 提交于 2019-12-11 07:48:45
问题 There is a good generalized method for defining private and protected properties and methods in Javascript, here on the site. However, the current version of Prototype (1.6.0) doesn't have a built-in way to define them through its Class.create() syntax. I'm curious what the best practices are when developers want to define private and protected properties and methods when using Prototype. Is there a better way than the generic one? 回答1: What you can do is using local variables in your

net reactor & clickonce deployment

我的梦境 提交于 2019-12-11 04:58:21
问题 After building our VB.NET .exe it is then obfuscated using the 3rd-party .NET Reactor utility before the output of that is included within a VS2005 deployment project. Is there a way of replacing the .exe with the scrambled version prior to then publishing using click-once ? Has anyone managed to deploy with click once, a net reactor protected application? 回答1: You can but not using the standard ClickOnce deployment scheme. One way is to make a MSBuild task that takes your files and creates

Worksheet protection set using ws.protect - but doesnt unprotect using the Menu (Review - Unprotect sheet)

大憨熊 提交于 2019-12-11 02:57:22
问题 I have the following code to protect the sheets of a workbook in Excel 2007 Private Sub password_protectallsheets() For Each ws In Worksheets ws.protect Password = "edc1" Next End Sub but when I try to unprotect the sheet using the password through the Excel 2007 Menu (review -> Unprotect sheet), it says the password you have supplied is not correct. Any help is hugely appreciated. 回答1: Try: Option Explicit Private Sub password_protectallsheets() Dim ws As Worksheet For Each ws In Worksheets

How to protect iOS bundle files

时光怂恿深爱的人放手 提交于 2019-12-11 01:45:57
问题 Now people can easily get the bundle files by unzipping the .ipa file. Is there any ways to protect the media file (say mp3) that saved in the application bundle of iPhone app? thanks, Kelvin 回答1: You can make it harder, but you can't really make it impossible. You could implement some kind of scrambling of the data, and then unscramble it when your app is running on the phone. But really any and all solutions just make it difficult, not impossible. Even encryption, your app will have to have

How to prevent spam on websites like shown in the following pictures

最后都变了- 提交于 2019-12-10 14:15:43
问题 lately I have spotted many spam streads showing strange text behaviour like the following: i tried to understand this but even chromes tools won't help much: I have some websites online and want to implement a better spam protection client- and serverside but I need to know what to check in the first place. I need to know how this is done and maybe if it could be detected with a regex pattern. any help would be appreciated! p.s.: I wanted to write a better headline but I don't even know how

Protecting login and comment forms against CSRF

坚强是说给别人听的谎言 提交于 2019-12-10 13:42:10
问题 I have read many articles about CSRF protection (this is a good one) and various questions here on SO, but none of them seem to be informative enough to answer my question. I am developing my own CMS and I want to secure my login and comment forms. I am going to allow anonymous users to comment on my website. All of the forms on my website are secured using tokens. I already know about that approach, but the problem is that it needs an active session (that is, after the user logs in). The

Protecting docker filesystem access

情到浓时终转凉″ 提交于 2019-12-08 03:30:34
问题 We use docker during development and everything works well. Our software is written in PHP and dockerized with MySQL, Apache and a lot of frameworks and libraries. For some of our customers we want to ship docker images in order to let them test, evaluate and use it. Using docker images they just need tun run the container and get a fully installed and configured system - very easy! But: How can we avoid customers seeing our code by simply attaching to docker or making some execs inside the

Where does an application store “I'm deactivated” on Windows? [closed]

独自空忆成欢 提交于 2019-12-06 14:59:49
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 4 years ago . Applications often have registration keys. It can arguably be placed in a file or in the registry. Sometimes, an application is deactivated by entry of another key, or the passing of a date, etc. Where can one safely store such information about an application be deactivated? A file isn't the answer; a backup copy can be restored to defeat this. The registry is a weak answer,

Protect Excel Worksheet For Read Only But Enable External Data Refresh

那年仲夏 提交于 2019-12-06 02:49:23
问题 I have an Excel 2010 workbook. One worksheet imports data from an external data connection (SQL query). I have also added additional columns to the worksheet to perform calculations on the data and to massage it a bit. The worksheet forms the backbone of the raw data used in the other worksheets. I'd like to protect the worksheet to make it read-only (allowing sort, filter, pivot table usage). I know how to do this with the protect worksheet feature. But when the worksheet is protected, I can