Security issues when testing on client machines

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I'm new to C# and .Net so be nice :-)

I'm going throught a steep learing curve right now and finding it really
hard when after several hours of coding is running into security issue when
trying the new application on a client machine. (I'm a domain admin on the
client/network)

and apparantly the problem is in the very first lines of code in my
form_Load event.

Here a snippet of the part causing a security issue:

private void MDI_Load(object sender, EventArgs e)
{

if (this.WindowState == FormWindowState.Normal)
{
this.Left =
(int)Application.UserAppDataRegistry.GetValue(this.Name + "left", 50);
this.Top =
(int)Application.UserAppDataRegistry.GetValue(this.Name + "top", 50);
this.Width =
(int)Application.UserAppDataRegistry.GetValue(this.Name + "width", (int)
(Screen.PrimaryScreen.Bounds.Width * 0.8));
this.Height =
(int)Application.UserAppDataRegistry.GetValue(this.Name + "height", (int)
(Screen.PrimaryScreen.Bounds.Height * 0.8));
}

Reading through the error information gives me the feeling I have to
configure all users/machines for using each and every part of the
environment, registry, files / folders, databases, several parts of .Net
framework. aso.....

Is this really true !?!?!??!?!

Will it be a really big job to make a client machine to accept the
application??


Kjell
 
Is this really true !?!?!??!?!

Will it be a really big job to make a client machine to accept the
application??

I think you may need a Domain Group Policy that needs to be applied to each
NT based O/S user machine to give .NET applications the ability to run.
 
yes.. go on...

Can I do that on the domain controller AD ??

Like a normal security policy ?


Kjell
 
Back
Top