473,624 Members | 2,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to develop an ASP.NET application with a Limited account (IIS problem?)

Hi,
I have an issue I have not found a way to get around. First of all, I use
Windows XP Professional. I have a user account for administrative & security
purposes (install software, share things, etc.) and then a regular/limited
user account which is the one I use for my every day tasks such as software
development and web browsing.

Obviously if I give administrator rights to my account I open myself to a
myriad of bad things out there that can install software on my machine
without my knowledge, alter my registry, etc. etc. At least I have been
doing it like this since I got "bitten" last year.

The BIG problem now is, in order to develop ASP.NET applications with VS.NET
(or WebMatrix) I need to be able to create a "website" on my local machine
(I have IIS running). As it turns out, with a "limited" account one cannot
set web-sharing on any folder nor create localhost websites! Does this means
I have to either open my system by giving this account admin rights, or
switch back and forth between one and the other (which I must say is QUITE
annoying and unproductive) ?

I hope there is a productive way around this because I find it unacceptable
to have to run as administrator to develop and browse, as well as to have to
do endless swapping between accounts.

Any input on this issue would be greatly appreciated.
Emilio
Nov 18 '05 #1
2 1347
Try :
http://msdn.microsoft.com/security/d...privileges.asp

Patrice

--

"DotNet Ed" <ti*********@ab olishspam.now> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi,
I have an issue I have not found a way to get around. First of all, I use Windows XP Professional. I have a user account for administrative & security purposes (install software, share things, etc.) and then a regular/limited
user account which is the one I use for my every day tasks such as software development and web browsing.

Obviously if I give administrator rights to my account I open myself to a
myriad of bad things out there that can install software on my machine
without my knowledge, alter my registry, etc. etc. At least I have been
doing it like this since I got "bitten" last year.

The BIG problem now is, in order to develop ASP.NET applications with VS.NET (or WebMatrix) I need to be able to create a "website" on my local machine (I have IIS running). As it turns out, with a "limited" account one cannot
set web-sharing on any folder nor create localhost websites! Does this means I have to either open my system by giving this account admin rights, or
switch back and forth between one and the other (which I must say is QUITE
annoying and unproductive) ?

I hope there is a productive way around this because I find it unacceptable to have to run as administrator to develop and browse, as well as to have to do endless swapping between accounts.

Any input on this issue would be greatly appreciated.
Emilio

Nov 18 '05 #2
Emilio,

You might find the MakeMeAdmin utility from Aaron Marosis
(http://blogs.msdn.com/aaron_margosis...24/193721.aspx) to be
helpful while developing as a non-admin. It will allow you to lauch
applications from your own user context, temporarily promoted to
Administrators membership without logging off.

If you use it, I would strongly recommend also running his PrivBar
toolbar(http://blogs.msdn.com/aaron_margosis...24/195350.aspx)
so that you can tell when your Explorer and IE instances are running with
elevated user permissions.

HTH,
Nicole
"DotNet Ed" <ti*********@ab olishspam.now> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi,
I have an issue I have not found a way to get around. First of all, I
use
Windows XP Professional. I have a user account for administrative &
security
purposes (install software, share things, etc.) and then a regular/limited
user account which is the one I use for my every day tasks such as
software
development and web browsing.

Obviously if I give administrator rights to my account I open myself to a
myriad of bad things out there that can install software on my machine
without my knowledge, alter my registry, etc. etc. At least I have been
doing it like this since I got "bitten" last year.

The BIG problem now is, in order to develop ASP.NET applications with
VS.NET
(or WebMatrix) I need to be able to create a "website" on my local
machine
(I have IIS running). As it turns out, with a "limited" account one cannot
set web-sharing on any folder nor create localhost websites! Does this
means
I have to either open my system by giving this account admin rights, or
switch back and forth between one and the other (which I must say is QUITE
annoying and unproductive) ?

I hope there is a productive way around this because I find it
unacceptable
to have to run as administrator to develop and browse, as well as to have
to
do endless swapping between accounts.

Any input on this issue would be greatly appreciated.
Emilio

Nov 18 '05 #3

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

Similar topics

1
2572
by: CES | last post by:
All, Could someone please point me to a step by step resource on setting up a ..net Web Application on IIS. I'm having a problem setting up IIS to except a new Web Application. I'm deploying the default Asp.net Web Application as is setup by VStudio with no code changed, other then adding "Hello World to the <title> tag. I've been able to narrow down the problem to IIS by compiling the Application and deploying it to my production...
13
2268
by: Edward Mitchell | last post by:
I have a problem that involves the error I receive when attempting to complete the asp.net web application example (Walkthrough: Creating a Web Application Using a Third-Party Business Object). When I first create the SQL connection in VS.NET 2003, I test the connection and everything works fine. However, when I attempt to run the first stage of the app (the bound datagrid), I receive an error stating: login failed for user...
2
2212
by: Ross | last post by:
Hi I have an application using asp.net that I am running on my PC. The web form has a text box where you can enter a name for a new Photo category then click on the button. The code is intended to create a new directory under Photos such as "Relatives".
4
4653
by: pjdouillard | last post by:
Hello all, Here is the context of my problem: We have an ASP.NET 1.1 application that has its own application pool setup and that runs under the identity of a NT Domain service account (this is for security reason when accessing databases). We use the Integrated Windows authentication to authenticate users, and we have setup the Web.config file to authenticate those users against 3 NT Domain Global Groups. Everything is working fine...
5
4527
by: Frank Rizzo | last post by:
I have a c# 2.0 winform app that runs under a user account with very limited rights. The application crashes on some actions (the Send Error to Microsoft screen) with unauthorized exception. This is despite the fact that I have try catch blocks around pretty much absolutely everything. I've tried logging to disk, but it seems to crash on a deeper level. The app works fine when run under an admin account. So how can I audit what the...
4
1375
by: Francesco Spegni | last post by:
hallo, i'm going to ask a solution for a "classic" problem. actually i read a lot about possible solutions to it but i was not able to solve it. the "patient" is: - a test server where i have "limited" power (alias, i cannot re- install everything i want :-/) - windows 2000 sp 4 w/ iis 5.0 - .net frameworks installed: 1.0, 1.1, 2.0
17
4872
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I have set up a virtual directory using IIS. Whenever, I load a web page of type .htm, I have no problem. Whenever I run a .aspx page I get the statement below. I am running on XP Pro, both Microsoft .Net 1.1 & 2.0 installed. How do I remedy this error? //Error below Server Application Unavailable The web application you are attempting to access on this web server is
13
4739
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315158 But the problem is that 99% of these are for ASP .NET 1.x and this is .NET 2.x which I just installed to try and get .net working for the first time ever. I've see all the HACKS to get .net 1.x...
7
1145
by: Bolwerk | last post by:
Hello I got a client who uses what appears to be ASP.NET 2.0. I come from a UNIX/PHP/Apache background, and I'm not too familiar with ASP.NET. He had some permissions problem a few weeks ago that I managed to fix. Now, he's getting this error (similar to the one a few weeks ago): Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh"
0
8614
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
8330
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7153
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6107
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
5561
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
4167
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2603
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
1474
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.