RE: Config file to turn on/off features ?

From: dw (dw_at_discussions.microsoft.com)
Date: 11/19/04


Date: Fri, 19 Nov 2004 11:25:06 -0800

Thanks...I'll check out the article. Yes, you are right, I would definitely
encrypt the key/value pairs to prevent tampering.

"JoeWood" wrote:

> You could use the application configuration file to switch this off and on,
> but you need to ask whether or not you need to lock this down. You don't
> want your users enabling features by editing the file in notepad.
> You could encrypt which features are enabled or disabled as part of an item
> in this configuration file using cryptography. There is a good introductory
> article in C# corner about this -
> http://www.dotnet247.com/247reference/a.aspx?u=http://www.c-sharpcorner.com/Code/2002/May/FileEncryption.asp.
>
>
> "dw" wrote:
>
> > I am working on a project where I need to be able to turn on/off some
> > features based on whether the user has purchased a particular feature. And,
> > the current UI has a tab control which I need to hide (or remove) tabs based
> > on this as well. My original plan was to use an XML config file and use that
> > to determine whether a user gets to see a feature (or a tab page) and then
> > remove or hide as necessary.
> >
> > If anyone has done something like this before and has any other ideas or
> > suggestions, it would be appreciated.
> >
> > Thanks
> > - dw



Relevant Pages

  • Re: Cryptography.
    ... I want to actually encrypt the whole configuration file during set up. ... > equivalent DPAPI functionality built into the framework. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Howto compile a kernel from scratch
    ... > I want to compile a kernel on my own and would like to know how to do ... determine which features you want to include/exclude. ... By-all-means, use your current configuration file, probably called ...
    (comp.os.linux.setup)
  • Re: Remoting Security
    ... To prevent somebody from eavesdropping on your connection, you need to encrypt the data going through the line. ... your only chance was to take advantage of the extensibility features in Remoting and implement custom sinks to provide that kind of functionality. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Secure and reliable online file storing
    ... They all have continuous realtime backup features and both mozy and idrive offer free 2gb accounts which is nice when you just want to backup your most critical files. ... If you encrypt your files before backing up then you have another layer of security. ...
    (microsoft.public.security)
  • RE: Config file to turn on/off features ?
    ... You could use the application configuration file to switch this off and on, ... but you need to ask whether or not you need to lock this down. ... You could encrypt which features are enabled or disabled as part of an item ... > the current UI has a tab control which I need to hide tabs based ...
    (microsoft.public.dotnet.framework)