473,398 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Security issues when testing on client machines

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
May 20 '07 #1
2 2169
>
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.

May 20 '07 #2
yes.. go on...

Can I do that on the domain controller AD ??

Like a normal security policy ?
Kjell

"Mr. Arnold" wrote:

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.

May 21 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Lorenzo | last post by:
hi you all, first of all apologies for having cross-posted this message but really i did not know where to post it. please let me know what ng you consider the most suitable for the described...
0
by: Dave | last post by:
So, I have some simple asp code to send a response to the client with a particular ContentType defined, code shown below: Response.Clear Response.ContentType = "application/x-custom"...
5
by: Nathan Bloom | last post by:
Hi, I have a secured database that runs fine on the computer the database is installed on. I have several workstations with access runtime installed that also need access to the database. ...
5
by: David W. Fenton | last post by:
I am posting this to the newsgroup because I wasted some time on Friday troubleshooting a problem of my own making. Other people might benefit from hearing about it. I'm working on the final...
16
by: Marina | last post by:
Hi, I am trying to find the minimum security settings to allow a windows control embedded in IE have full trust. If I give the entire Intranet zone full trust, this works. However, this is...
11
by: Jason | last post by:
I'm trying to implement role-based security in my ASP.NET application, however, everytime I perform an IsInRole check, it ALWAYS returns false! My Web.Config file has the following entry: ...
1
by: Ted | last post by:
I managed to get it installed OK, along side MS Visual Studio 2005 (with which I received it). During the install, I made sure I installed everything. I have developed a number of applications...
19
by: hansBKK | last post by:
Upfront disclaimer - I am a relative newbie, just starting out learning about PHP, mostly by researching, installing and playing with different scripts. I am looking for a host that will provide...
4
by: peteh | last post by:
Hi All; On a DB2 v9.1 (DPF) - RH Linux server, we have a local userid EXECMSTR that has dbadm privileges and executes all batch processing to load and maintain a large data warehouse application....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.