tagged [security]

How can I make my product as a trial version for 30 days?

How can I make my product as a trial version for 30 days? I have created my product and also generated license key for that but I want to ask that key after 30 days. I have do it with registry value s...

21 Oct at 12:55

Where do programs save their secret license?

Where do programs save their secret license? Where do programs save their secret license or install related information? I notice that often times when you uninstall a program, clear out appdata refer...

5 Jun at 10:57

How to upgrade OpenSSL in CentOS 6.5 / Linux / Unix from source?

How to upgrade OpenSSL in CentOS 6.5 / Linux / Unix from source? How do I upgrade OpenSSL in CentOS 6.5? I have used these commands, but nothings happens: Aft

14 Apr at 18:29

PreparedStatement IN clause alternatives?

PreparedStatement IN clause alternatives? What are the best workarounds for using a SQL `IN` clause with instances of `java.sql.PreparedStatement`, which is not supported for multiple values due to SQ...

OAuth2 and Google API: access token expiration time?

OAuth2 and Google API: access token expiration time? We have a standalone Java application (see ["Installed application"](https://developers.google.com/identity/protocols/OAuth2#installed)) which runs...

Azman Obsolete? What is the new alternative to Azman?

Azman Obsolete? What is the new alternative to Azman? Is there a replacement for Azman, that is a new way to apply security. Previously we were using EntLib 3 and used Azman for our security and autho...

How to create a laravel hashed password

How to create a laravel hashed password I am trying to create an hashed password for Laravel. Now someone told me to use Laravel hash helper but I can't seem to find it or I'm looking in the wrong dir...

19 Nov at 16:56

Problem making local copy of a webpage

Problem making local copy of a webpage I want to run [this chrome experiment](http://29a.ch/sandbox/2010/normalmapping/) locally. I copied the `.html` and `.js` files, along with the two `.jpg`s that ...

23 May at 21:52

How can prepared statements protect from SQL injection attacks?

How can prepared statements protect from SQL injection attacks? How do [prepared statements](http://en.wikipedia.org/wiki/Prepared_statement) help us prevent [SQL injection](http://en.wikipedia.org/wi...

.NET obfuscation tools/strategy

.NET obfuscation tools/strategy My product has several components: ASP.NET, Windows Forms App and Windows Service. 95% or so of the code is written in VB.NET. For Intellectual Property reasons, I need...

13 Apr at 12:51

JSONP and Cross-Domain queries - How to Update/Manipulate instead of just read

JSONP and Cross-Domain queries - How to Update/Manipulate instead of just read So I'm reading The Art & Science of Javascript, which is a good book, and it has a good section on JSONP. I've been readi...

23 Nov at 01:54

Create a cryptographically secure random GUID in .NET

Create a cryptographically secure random GUID in .NET I want to create a cryptographically secure GUID (v4) in .NET. .NET's `Guid.NewGuid()` function is not cryptographically secure, but .NET does pro...

11 May at 18:13

Verified channel to server from app on iPhone

Verified channel to server from app on iPhone I'm working on a game for the iPhone and would like it to be able to submit scores back to the server. Simple enough, but I want the scores to be verified...

17 Sep at 00:16

How do I get the username in a self-hosted ServiceStack running on Windows

How do I get the username in a self-hosted ServiceStack running on Windows I'm building a `Windows service` and instead of exposing a WCF or .Net remoting interface, I'm giving `ServiceStack` a shot. ...

27 May at 04:46

Retrieve target element in CodeAccessSecurityAttribute

Retrieve target element in CodeAccessSecurityAttribute I realize you can't get the target entity in the Attribute itself, but what about in an associated Permission object when using a CodeAccessSecur...

11 Nov at 19:4

Difference between Hashing a Password and Encrypting it

Difference between Hashing a Password and Encrypting it The current top-voted to [this question](https://stackoverflow.com/questions/325862/what-are-the-most-common-security-mistakes-programmers-make)...

Spring security 2.0.5. custom login form. Cannot see errors in language other than English

Spring security 2.0.5. custom login form. Cannot see errors in language other than English I've got my Spring Security custom login form working. It displays errors if the user has input bad credentia...

How to set your sensitive data in the application code when creating ADO.NET Model?d some tag a

How to set your sensitive data in the application code when creating ADO.NET Model?d some tag a I am creating a model for a database and was curious at the following statement in the ADO.NET Entity Mo...

Why would using PrincipalSearcher be faster than FindByIdentity()?

Why would using PrincipalSearcher be faster than FindByIdentity()? I had this code: and it took about 2-3 seconds to run. I was recommended to rewrite it using `PrincipalSearcher` class: ``` var conte...

Encryption in C# Web-Services

Encryption in C# Web-Services I'm looking for a simple way to encrypt my soap communication in my C# Web-Service. I was looking into [WSE 3.0](http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F...

31 Aug at 01:44

How do I validate that a certificate was created by a particular certification authority?

How do I validate that a certificate was created by a particular certification authority? I have a Windows certification authority that I am using to issue client authentication certificates via .net ...

16 Apr at 16:49

How to validate domain credentials without considering the Cached Domain Credential

How to validate domain credentials without considering the Cached Domain Credential I want to know if there's a way to validate domain credential and make sure we don't use the ? I use this to validat...

18 Aug at 20:54

Can anybody explain OAuth?

Can anybody explain OAuth? I've read a bit about it at [http://oauth.net/](http://oauth.net/) , it's "a simple way to publish and interact with protected data" apparently. I think it's exactly what I ...

16 Sep at 18:10

How is SecureString "encrypted" and still usable?

How is SecureString "encrypted" and still usable? According to MSDN [SecureString](http://msdn.microsoft.com/en-us/library/system.security.securestring.aspx) contents is for additional safety so that ...

How to get active user's UserDetails

How to get active user's UserDetails In my controllers, when I need the active (logged in) user, I am doing the following to get my `UserDetails` implementation: It works fine, but I would think Sprin...