protection

Protect yourself against Dos attacks

旧巷老猫 提交于 2019-12-17 07:12:52
问题 This might be something more suited for Serverfault, but many webdevelopers who come only here will probably benefit from possible answers to this question. The question is: How do you effectively protect yourself against Denial Of Service attacks against your webserver? I asked myself this after reading this article For those not familiar, here's what I remember about it: a DoS attack will attempt to occupy all your connections by repeatedly sending bogus headers to your servers. By doing so

How do you protect your software from illegal distribution? [closed]

做~自己de王妃 提交于 2019-12-17 02:39:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I am curious about how do you protect your software against cracking, hacking etc. Do you employ some kind of serial number check? Hardware keys? Do you use any third-party solutions? How do you go about solving licensing issues? (e.g. managing floating licenses) EDIT: I'm not talking any open source, but

Javascript form validation on client side without server side - is it safe?

血红的双手。 提交于 2019-12-13 22:07:37
问题 Supose I have some form with javascript client side validation and no server side validation. If user disable javascript in his browser there will no be submit button so he can not send me any data without js enabled. But I do not know is there any way to change my validation instructions from client browser so he could send me untrusted data and make some damage to my database. Thanks in advance and sorry for my (possibly) obvious question!!! 回答1: No. it is not safe. Use server side

How to check on google sheet/ranges protection status?

怎甘沉沦 提交于 2019-12-13 19:19:32
问题 I made a code with @OMila aid to restrict some ranges for certain users while protecting the whole remaining ranges in sheet from their editing.. I want to check on the protection status of a sheet/range per for loop iteration, if it is protected ==> iteration++ (check next sheet), if not protected, run the script and protect ranges. The purpose is, when certain people make new sheets, I want the script to run automatically via a trigger, but when the number of sheets increase the execution

Processing apply protection on multiple ranges all together

非 Y 不嫁゛ 提交于 2019-12-13 18:03:32
问题 Recently ability to manipulate protection for a range programatically has been added. But is there a way to add multiple ranges all together when they have same protection to apply protection instead of processing each range one at a time? The following code is from Google sample script. Currently I am running the following code as many as ranges I have. Is there a better way to do it all at once? var ss = SpreadsheetApp.getActive(); var range = ss.getRange('A1:B10'); var protection = range

Page protection does not work correctly for the Administrator page

本秂侑毒 提交于 2019-12-12 22:22:39
问题 I posted a similar post of this whith a different code, but changed it a little now, and did not get an answers that I was hoping for (the answers did not help me much). I hope this is Ok, tell me if it is not. :) I have been trying to make a page protection for the Administrator page, and I can not get it to work. I am sure this would not have been a problem if I was not new to PHP coding, hehe. When a normal user with the type '0' is trying to access the administrator page, index_admin.php

userinterfaceonly:=true doesn't seem to allow VBA changes to conditional formatting?

旧时模样 提交于 2019-12-12 08:13:06
问题 I'm running a piece of code via the Worksheet_Change Event and I have it working with a call to an unprotect sub at the beginning of the event and a matching call to a protect sub at the end of the event. This works as expected. I'm trying to work with setting the protection to userinterfaceonly:=true in the workbook open event to negate the need to unprotect and reprotect each time the change event fires (more just to explore the functionality than anything else). Problem is that the code to

How to protect parts of a word document with Apache POI

二次信任 提交于 2019-12-12 04:35:29
问题 I need to protect parts of my Word (2013) document via Java and make them read only. Is that possible with Apache POI? And if yes, how? I only found the possibility to protect the whole document. (I need to protect not only the header and footer but also some lines in the body part.) 回答1: There are multiple kinds of protection you can enforcing in an Word document. If you are enforcing read only protection, then you can exclude ranges from protection by marking them using CTPermStart and

Protect my PHP App

£可爱£侵袭症+ 提交于 2019-12-12 01:32:53
问题 I have developed an app and its written in PHP (with a bunch of SQL scripts), this app will be used by a few small companies. For them to use it, I will have to install Apache and SQL Server for them. Every method I have thought has fallen short of what I need. I was actually just hoping to use ZendGuard or IonCube but they don't support PHP 5.3.x. Is there a simpler method where I can maybe store a key in the database and make the app run only when it knows its on that server? Maybe create a

php flood protection improvement script

浪尽此生 提交于 2019-12-12 01:05:43
问题 I have found this script Quick and easy flood protection? and I have turned it into a function. Works great for the most part. From time to time I see an error: [<a href='function.unlink'>function.unlink</a>]: No such file or directory in line: else if ($diff>3600) { unlink($path); } // If first request was more than 1 hour, new ip file Apparently some IP files for some reason are getting deleted ? I have tried to find the logic error, but I'm not good at all at that. Maybe somebody could