protection

Securing WinForms Application suggestions [closed]

江枫思渺然 提交于 2020-01-13 05:35:44
问题 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 4 years ago . I've been looking for a simple key/license system for our users. Its partly to stop piracy (avoid users from sharing the application around) and the other half to track the number of 'licensed users' we have. I have already read a few good suggestions on SO but I'm curious as to how people have implemented the

How to create a undeletable registry key (or file) in C++

别说谁变了你拦得住时间么 提交于 2020-01-12 09:54:54
问题 I would like to create time limited version of a game I am developping in C++. I already meet some program that create files I am still not able to delete, and other that created registry key very hard to delete (because there were several sub key and needed to change owner to the deeper first, delete it go up, change owner...). Then I think the only way is to create something in the computer that is not (or hardly) deletable to mark the beginning of trial. I know how to create key or file

How to create a undeletable registry key (or file) in C++

给你一囗甜甜゛ 提交于 2020-01-12 09:52:23
问题 I would like to create time limited version of a game I am developping in C++. I already meet some program that create files I am still not able to delete, and other that created registry key very hard to delete (because there were several sub key and needed to change owner to the deeper first, delete it go up, change owner...). Then I think the only way is to create something in the computer that is not (or hardly) deletable to mark the beginning of trial. I know how to create key or file

How can I avoid SQL injection attacks?

瘦欲@ 提交于 2020-01-08 17:01:22
问题 Yesterday I was speaking with a developer, and he mentioned something about restricting the insertions on database field, like, strings such as -- (minus minus). At the same type, what I know is that is a good approach to escape HTML chars like < , > etc. Not -- . Is this true? Do I have to worry about -- , ++ ? Is it more like a myth or old stuff? Update Thanks a lot for all the answers, it's easy to understand like that since I'm kind of new to all of this. Well, to be more specific in this

How can I avoid SQL injection attacks?

混江龙づ霸主 提交于 2020-01-08 17:00:42
问题 Yesterday I was speaking with a developer, and he mentioned something about restricting the insertions on database field, like, strings such as -- (minus minus). At the same type, what I know is that is a good approach to escape HTML chars like < , > etc. Not -- . Is this true? Do I have to worry about -- , ++ ? Is it more like a myth or old stuff? Update Thanks a lot for all the answers, it's easy to understand like that since I'm kind of new to all of this. Well, to be more specific in this

How can I avoid SQL injection attacks?

北战南征 提交于 2020-01-08 17:00:02
问题 Yesterday I was speaking with a developer, and he mentioned something about restricting the insertions on database field, like, strings such as -- (minus minus). At the same type, what I know is that is a good approach to escape HTML chars like < , > etc. Not -- . Is this true? Do I have to worry about -- , ++ ? Is it more like a myth or old stuff? Update Thanks a lot for all the answers, it's easy to understand like that since I'm kind of new to all of this. Well, to be more specific in this

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

浪尽此生 提交于 2020-01-02 23:07:09
问题 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

preventing direct download of SQLite file using .htaccess

梦想与她 提交于 2020-01-01 14:42:55
问题 I know the basics of .htaccess, but freely admit to being a non-expert when it comes to mod_rewrite. The problem: I have a sqlite db file in the document root (no, I can't move it out of here) called data.sqlite . This file is accessed internally by PHP files, however, I want to protect this file from being 'downloaded' by the user typing the db URL directly into their browser. I have used .htaccess to create pretty URLs in the past, and thought using mod_rewrite would provide a nice solution

How to run code right when a C# application starts?

一笑奈何 提交于 2019-12-31 23:00:26
问题 I have put some code inside of the public MainWindow() {} but I kept getting some obscure XAML parsing errors as soon as I did that (not on my computer but on 3 others I've tried it on - yep!) Is there the preferred way to run code AS SOON as t he application starts? The theory is I want it to call home and ask it it's ok to start. If it's not, I want the app to close out. Call it a makeshift copy-protection :) 回答1: Under normal circumstances, WPF creates the Main method (the entrypoint of

How to protect your software code? [duplicate]

一个人想着一个人 提交于 2019-12-28 16:41:42
问题 This question already has answers here : Closed 9 years ago . 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 problem is that, once someone takes a look at the code, they will understand it very easily and they can easily build it up themselves. Now, the thing is that I built the code from the scratch