Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Application user access

Hi everybody,

I'm developing an administrative application (Inventory & POS) and would like to implement user access/permits to its modules, i.e. Who can enter new articles or change prices. I'm looking for a Module/Class/Component which allows to "configure" what user has access to wich modules or actions.

Does anybody nows if there is something like this in the web already done ?

I would appreciate all your help.

Regards,

Jorge :WAVE:
[495 byte] By [jconde] at [2007-11-11 8:34:28]
# 1 Re: Application user access
Hi,
i think you can use registry to do this or store data to txt or .dat files or (the most bad one) use databases - u have many solutions to do !

waiting ur reply
AHHB at 2007-11-11 17:25:22 >
# 2 Re: Application user access
Oh yes, many ideas come to my mind, but I would like to save time by not reinventing the wheel.

Thanks for your reply,

Jorge
jconde at 2007-11-11 17:26:24 >
# 3 Re: Application user access
not at all
you can simply add a richtextbox control to your form and collect all your data in a string called fro example "dataCol" then use this code to save it to a file
richtextbox.savefile "c:\data.dat"
your file will be saved in c:\ with extension dat to prevent editing it easily by the end user

and use :-
richtextbox.loadfile "c:\data.dat"
to load your data store again at any time

and search it for any certia like "version" using :-
richtextbox.find "version"

i think only the most complex thing is retriving this data again as you 'll need to get the text which start after " " after the found word "version" - i'll try and tell you ...
AHHB at 2007-11-11 17:27:22 >