I'm going to roll out a private beta soon but never participated myself in something like that.
So which points should be included in a beta test agreement between me and the users?
Pointing me to an example agreement would be a plus.
Edit: It's a B2C application. Not related to security.
...
I'm making a simple licensing system for my apps.
I don't know about cryptography, but I know that I need a algorithm that consists of 2 keys: private and public.
I need to encrypt some data (expiration date and customer email) using my private key, and then my app will decrypt the data using the public key to compare expiration date.
...
Suppose I have the following declaration:
class Over1
{
protected:
class Under1
{
};
};
I know that I could do the following:
class Over2 : public Over1
{
protected:
class Under2 : public Under1
{
};
};
But is there a way to declare Under2 without Over2?
Since you would have to exte...
Is there a way to hide private data members of a C++ class away from its users, in the cpp file? I think of the private members as part of the implementation and it seems a little backwards to declare them in the header file.
...
Are there clear rules on when to use each of these when making classes and interfaces and dealing with inheritance?
...
Is it right to use a private constant in the following situation:
Say I have a game with a lives variable and a startingLives variable. At the start of the game I set the lives variable to equal the startingLives variable. This is how I would normally do it:
private var lives:int = 0;
private var startingLives:int = 3;
private functio...
In C++ you can disable a function in parent's class by declaring it as private in the child class. How can this be done in Python? I.E. How can I hide parent's function from child's public interface?
...
I know most of the ins and outs of Python's approach to private variables/members/functions/...
However, I can't make my mind up on how to distinguish between methods for external use or subclassing use.
Consider the following example:
class EventMixin(object):
def subscribe(self, **kwargs):
'''kwargs should be a dict of e...
I'm building a class library that will have some public & private methods. I want to be able to unit test the private methods (mostly while developing, but also it could be useful for future refactoring).
What is the best way to do this?
...
Exactly what the topic title says,
In which cases would you prefer using public functions to change local variables over just defining that variable as public and modifying it directly?
...
What's the best way to unit test protected and private methods in Ruby, using the standard Ruby Test::Unit framework?
I'm sure somebody will pipe up and dogmatically assert that "you should only unit test public methods; if it needs unit testing, it shouldn't be a protected or private method", but I'm not really interested in debating t...
Hi everyone.
I'm using RSACryptoServiceProvider in .NET 2 and it seems that the Private part of a Public/Private key pair always contains the Public part as well.
I need to encrypt some info using my Public key, and allow the other party to ONLY DECRYPT what I encrypted. I don't want them to be able to know how I encrypted my message. ...
Is it only to allow logical grouping?
...
Hi,
I'm using WCF (C#) to send/receive messages from private msmq queue under Windows Server 2003 in WorkGroup mode.
Client WCF/Service WCF and MSMQ are on the same computer.
There's one client that send message to the private queue, that's work perfect.
There's one service that receive message from the same private queue but the servic...
In C++, I can't think of a case in which I would like to inherit private/protected from a
base class:
class Base;
class Derived1 : private Base;
class Derived2 : protected Base;
Is it really useful?
...
It's basically one app that is installed on multiple PC's, each install maintaining it's own database which is sync'd with other's as & when they are up (connected to the same network) at the same time.
I've tested this using simple socket connections and custom buffers, but want to make the comms between the apps conform to accepted st...
In the following code, g++ gives this error :
1.cpp: In member function void W::test()':
1.cpp:6: error: int F::glob' is private
1.cpp:19: error: within this context
But, shouldn't the globally declared
variable 'glob' be used here, instead
of the "private" "glob"?
#include <iostream.h>
int glob;
class F
{
int g...
Well I tried to figure out is this possible in any way. Here is code:
a=function(text)
{
var b=text;
if (!arguments.callee.prototype.get)
arguments.callee.prototype.get=function()
{
return b;
}
else
alert('already created!');
}
var c=new a("test"); // creates prototype instance of getter
var d=ne...
Variables "protected" are prone to be malicious changed by derived class?
Should I use "private" in base class variables instead of "protected"?
...
I have a class (class A) that is designed to be inherited by other classes written by other people.
I also have another class (class B), that also inherits from A.
B has to access some A's member functions that shouldn't be accessed by other inheriting classes.
So, these A's member functions should be public for B, but private for othe...