[windev] Limited access to application features (Slightly OT)
OMostovlyansky@iba.by
OMostovlyansky at iba.by
Wed Dec 17 16:57:12 GMT 2008
Hi,
>My application is not commercial and not overly complex.=A0 But could anyo=
ne
suggest to
>me a fairly simple technique for restricting this INI update to certain
people?
maybe, the easiest is to check user name - GetUserName/GetUserNameEx? If
you know these people (I assume), you can either hardcode their names, or
put into the same INI or registry... it should be easier (for user) as
popup/password.
Mit freundlichen Gr=FC=DFen,
Oleg A.Mostovlyansky
---------------------------------
IBA (Minsk, Belarus)
Tel: +375 17 217 3228
Mail: OMostovlyansky at iba.by
=
truckleaj-windev@ =
yahoo.co.uk =
Sent by: To =
windev-bounces at wi windev at windev.org =
ndev.org cc =
=
Subject =
17.12.2008 18:27 [windev] Limited access to =
application features (Slightly OT) =
=
=
=
=
=
=
MFC Dialogue VS 2005 C++
Hello
I am adding a new feature into my application where the user presses a key
sequence.=A0 This then takes data from the application and updates a
specified INI file.=A0 The user then emails me this INI file.
Only certain individuals are supposed to update and email this INI file to
me.=A0 However at the moment the feature will run no matter who presses the
key sequence.
My application is not commercial and not overly complex.=A0 But could anyone
suggest to me a fairly simple technique for restricting this INI update to
certain people?=A0 What I thought of was maybe a popup dialogue, which had a
password edit box and the user would have to type in the correct password.
I don't know if that is the best way though!
Thanks in advance.
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.windev.org/pipermail/windev/attachments/20081217/b9f7776f/atta=
chment.htm
--
Windev mailing list at Windev at windev.org
Lost your password? Need to unsubscribe or change your delivery options?
Go to http://lists.windev.org/mailman/listinfo/windev
--
Search the Windev Archives - www.windev.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.windev.org/pipermail/windev/attachments/20081217/8af18a89=
/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://lists.windev.org/pipermail/windev/attachments/20081217/8af18a8=
9/graycol.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic06900.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
Url : http://lists.windev.org/pipermail/windev/attachments/20081217/8af18a8=
9/pic06900.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://lists.windev.org/pipermail/windev/attachments/20081217/8af18a8=
9/ecblank.gif
More information about the Windev
mailing list