Questions tagged [protection]

avoid using this vague/ambiguous tag

571 questions
6
votes
7 answers

Protecting image media in an web application

we are maintaing a database of image media in a large scale webapplication. The high resolution jpgs are big (> 15MB) and must not be made available for download in any way. Now we need to provide access to the details (crops) of the images to the…
Mats
  • 13,840
  • 29
  • 73
  • 106
6
votes
5 answers

Verifying a Googlebot

I'm going to block all bots except the big search engines. One of my blocking methods will be to check for "language": Accept-Language: If it has no Accept-Language the bot's IP address will be blocked until 2037. Googlebot does not have…
ilhan
  • 7,981
  • 30
  • 107
  • 186
6
votes
3 answers

Protecting DLLs

Quite a few people have really taken interest in the dll's ivé sent them, and they're not the type that should be given away for free too often... I was just wondering, if I were to sell my components, user controls etc, how would I go about…
anon271334
6
votes
2 answers

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

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…
Harley B
  • 543
  • 4
  • 14
6
votes
6 answers

Retrieve time from the internet (bypassing PC clock)?

For my MFC/C++ unmanaged time-limited software needs, I'd like to get a GMT/UTC time-stamp from the internet (instead of relying on the PC clock time that can be easily changed). I already though about parsing the line "Current UTC"... line from…
AVIDeveloper
  • 2,286
  • 1
  • 21
  • 26
6
votes
3 answers

How to protect a pre made sqlite database in android?

I have a sqlite database in asset folder of my android project. I made it with sqlite database browser and use it in my project. It contains some table with 4 columns. This is working great in my apk file. But problem is if someone want he can…
Xplosive
  • 733
  • 3
  • 13
  • 24
6
votes
4 answers

Protecting login and comment forms against CSRF

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.…
Onion
  • 1,564
  • 1
  • 20
  • 40
6
votes
0 answers

Win7/8 DWM Draw hooking

I am trying to develop certain extension for Desktop Window Manager. I selected method of DLL injection and function hooking. It is supposed to be working in Windows 7 and Windows 8. I successfuly injected my DLL into dwm.exe process and hooked…
bigmuscle
  • 411
  • 1
  • 4
  • 14
6
votes
2 answers

Node.js server side code protection

I am developing my next web app with node.js. With ASP.net for example, the .cs server side code can't be accessed from a client browser. What I want to know is when I develop my app using node.js, does the server.js file is protected from people…
Idan Shechter
  • 9,779
  • 25
  • 105
  • 203
5
votes
1 answer

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

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…
QQping
  • 1,340
  • 13
  • 26
5
votes
3 answers

What can done to secure jar files besides obfuscation?

I'm concerned about the security of Java executables. They offer little protection against decompilation. With tools like Java Decompiler even a kid can decompile the class files to get the original code. Apart from code obfuscation what can be done…
rainbower
  • 121
  • 3
  • 14
5
votes
1 answer

How does "watermarking" in applications work?

By watermark I mean: A byte array that is somehow integrated into a .exe / .dll file, which can be searched for. Many anti-piracy / anti-reverse-engineer programs include a system called "watermarks" as a featuer. For example VMProtect. How does…
Riki
  • 1,647
  • 1
  • 14
  • 28
5
votes
5 answers

Where should I store license data locally?

Currently, I do a database check every time a client opens my application — they enter their login information, and my app then runs their info through the database and see if it matches. It works flawlessly, except that this method won't do me any…
Jeff
  • 11,384
  • 12
  • 77
  • 145
5
votes
1 answer

sheet.getProtections no longer works?

I have a script that automatically protects a range of past Dates in my Sheet. I use the standard sheet.getProtections(SpreadsheetApp.ProtectionType.RANGE); It worked fine for several months but it has not worked since yesterday. Is there any…
5
votes
4 answers

How does SQL-injection work and how do I protect against it

Possible Duplicate: What is SQL injection? I see a lot of php code floating around on stackoverflow and (too) little escaping of strings. Can anyone Explain what SQL injection is; Explain what it can do to your server, data and code; Give an…
Johan
  • 71,222
  • 23
  • 174
  • 298