473,395 Members | 1,915 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,395 software developers and data experts.

How to use the credentials of the logged in user?

I have a web page that is published on the internal IIS server. This
web page is for common administrator actions like reset a user's
password. The problem is I don't know how to tell IIS or Visual Basic
or .....? to perform the actions using the credentials of the person
requesting the page. As it stands right now as soon as I click on the
reset password button it errors out because of: Access is denied.
(Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) . TIA

Jun 15 '06 #1
1 1090
Make sure ASP.NET app's Authentication mode is "Windows", set
impersonate="true", and do not allow Anonymous access. This way,whoever
request the web page, ASP.NET will run with his user account. If the user is
member of a user gruop (domain admins, for example) that has right to manage
user account on the domain, then page will run through.

"Dumb Luck" <tr*****************@gmail.com> wrote in message
news:11*********************@h76g2000cwa.googlegro ups.com...
I have a web page that is published on the internal IIS server. This
web page is for common administrator actions like reset a user's
password. The problem is I don't know how to tell IIS or Visual Basic
or .....? to perform the actions using the credentials of the person
requesting the page. As it stands right now as soon as I click on the
reset password button it errors out because of: Access is denied.
(Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) . TIA

Jun 15 '06 #2

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

Similar topics

0
by: Twan Kennis | last post by:
Hello! I do have the following problem: I've developed a Windows application which communicates with a DB2-database on the iSeries platform using an ODBC-connection string. This...
4
by: Jamie | last post by:
I'm trying to create a HttpWebRequest object that uses the current logged in users credentials. The site is using Windows Authentication, Anonymous access is turned off. Will the HttpWebRequest...
3
by: Jørn A. | last post by:
I'm working on a web based user interface for a job scheduling system (running scripts). The system is using a non-windows scheduler software, but it's installed and running as a windows...
0
by: Cozfer | last post by:
I am having a problem communicating with a remote server (on intranet) using the httpwebrequest object. We have used the object to communicate with other machines previously, but this time we must...
3
by: Patrick.O.Ige | last post by:
Hi folks, How can i pass credentials to windows integrated authentication. I want to use my credentials from windows authentication and pass it on to different asp.net and asp pages without having...
3
by: Wild Wind | last post by:
Hello, I have an application which calls a web service across the Internet from a client machine. The site that I have deployed the application to is such that to browse the Internet using a...
2
by: Ken Varn | last post by:
I am trying to call my Web Service from my embedded Windows Forms control that is embedded in an HTML page using No Touch Deployment. When I try to call my Web Service from my Windows Forms...
0
by: Jim_H | last post by:
I am trying to set the Credentials property of my web service proxy and I cannot seem to get anything to work. I am calling a remote asmx page from an aspx and they each reside on different web...
3
by: Jarrod Morrison | last post by:
Hello all Is it possible to use Impersonation from inside a windows service to impersonate the logged on user without supplying any credentials and launching a program as that user ? My problem...
1
by: cashdeskmac | last post by:
I have used impersonation to assign all logged in users an account to access a folder on a network share. However, when they try to access this folder, they are doing so as the machine user, not...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
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...

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.