LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC Security programatically

------------------
I have nothing but a very simple application having some controls on front panel.
I created a local/network domain, groups and some users for testing of my applcation.
some controls should only be accessible to some specific users of a specific group. And rest of the users wont be able to operate as i have set them to be grayed out for them, just by setting-up the security properties at the time of development of the application.
It works fine. No problem.
--------------------
Now what all i want is to let my client to create domain on his own and also users as per his requirements.
I did not find any funcation ready made in DSC>>security....

It's okey, I suppose it would be possible to create users programatically, but think about - if creation of domain and groups also become possible in the same way, how would I define the security level for each  and every control at run time? [means how would i relate controls to particular groups of the new created domain] as I did'nt find any property to do like that.
 
 

-Alok
 
-AL☼K
0 Kudos
Message 1 of 3
(4,224 Views)
Hello Alok,
 
While you are correct in believing that we can't currently change the security profile of front panel controls once the application is built into an executable, you can still use the Domain Account Manager as we discussed before to create new users in the deployment environment.  What you can do is to assign permissions for each control/indicator for each class of user that you expect at development time, and allow your customer to create new users as members of one of these groups (examples include the Adminsitrators and Everyone groups).  This way, you will not need to redefine the security settings for your front panel after you release it to your customer.  If this doesn't fully meet your needs, I encourage you to send us product feedback at www.ni.com/contact, which is evaluated by our development group for possible inclusion in future projects.
Cheers,

Matt Pollock
National Instruments
Message 2 of 3
(4,214 Views)

Hi and thanks Matt,

I'm satisfied with your reply. I have not yet build application/installer, if i get any problem in future i'd like to trouble you again.

Thanking you.

 

-Alok

-AL☼K
0 Kudos
Message 3 of 3
(4,201 Views)