RE: Config file to turn on/off features ?
From: dw (dw_at_discussions.microsoft.com)
Date: 11/19/04
- Next message: Alvin Bruney [MVP]: "Re: Is Framework 1.1 SP1 compatible with plain 1.1?"
- Previous message: mdb: "Any way to interpret javascript functions?"
- In reply to: JoeWood: "RE: Config file to turn on/off features ?"
- Next in thread: mdb: "Re: Config file to turn on/off features ?"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Alvin Bruney [MVP]: "Re: Is Framework 1.1 SP1 compatible with plain 1.1?"
- Previous message: mdb: "Any way to interpret javascript functions?"
- In reply to: JoeWood: "RE: Config file to turn on/off features ?"
- Next in thread: mdb: "Re: Config file to turn on/off features ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|