473,666 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.WindowSta te == FormWindowState .Normal)
{
this.Left =
(int)Applicatio n.UserAppDataRe gistry.GetValue (this.Name + "left", 50);
this.Top =
(int)Applicatio n.UserAppDataRe gistry.GetValue (this.Name + "top", 50);
this.Width =
(int)Applicatio n.UserAppDataRe gistry.GetValue (this.Name + "width", (int)
(Screen.Primary Screen.Bounds.W idth * 0.8));
this.Height =
(int)Applicatio n.UserAppDataRe gistry.GetValue (this.Name + "height", (int)
(Screen.Primary Screen.Bounds.H eight * 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 2189
>
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
5422
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 issue. i wrote a program made by a client and a server that communicate via RMI premise 1) everything has been developed and executed on WinXP Professional and the following jre
0
2138
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" Response.Write "<?xml version='1.0' encoding='UTF-8'?><testing/>" Response.Flush I have a client side ActiveX control implementing IPersistMoniker that is
5
15111
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. Access runtime runs fine when accessing an unsecured version of the database. However once the database was secured it generates a runtime error after asking for the user and password and won't open. The shortcut to the secured database is: "path...
5
1150
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 touches to an app that's going to be run by 3 people in an office from their workstations, and about 10 other people remotely via Windows Terminal Server. The TS is set up and operating beautifully (I'm not the client's sysadmin, but I *trained* the...
16
2102
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 very broad and gives the entire zone high privleges. I tried giving just the assembly full trust (using the full URL for the DLL), but this doesn't seem to work.
11
1928
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: <authentication mode="Windows" /> Here is sample code that returns false: private void Page_Load(object sender, System.EventArgs e) {
1
1906
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 using MySQL v 5 and PostgreSQL, but I have not worked with MS SQL. Playing with it after installing it, and running through several tutorials, I generally like what I see, but there are a few issues (so far - I am sure others will crop up as...
19
2569
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 the right environment for this - running a wide variety of PHP applications. I realise that security is also important, but for now flexibility is more important to me. Note that I'm **not** looking for people to recommend hosting companies, I...
4
1797
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. The database server allows authentication client for some applications. It appears that this configuration would allow a local (client) user to be defined as EXECMSTR and come into the database server with dbadm priveleges! Obviously, this fits...
0
8360
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8876
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8784
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6198
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2774
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1777
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.