Hi folks,
well, I've read some articles on authentificatio n, but somehow I can't
get along with what I need.
I need to get the login name from the OS to check if this person is
even able to start the application. If so, the person should get login
window for the web application that is checked against a user
database.
I tried to use "Windows" and "Forms" authentificatio n, but it doesn't
do what I need! Every time I try to get the username of the windows
user, I get either this damn ASPNET user or some other stuff.
I understand that the client logs on the the IIS as ASPNET, but how
can I get the currently logged in on the OS?
Thanks in advance,
Junky 2 1224
Hi,
Did you use <identity impersonate="tr ue" /> in your web.config file ?
--
Regards,
Peter Jausovec
( http://blog.jausovec.net)
"Junky" <ju***@leiopyth on.de> wrote in message
news:2d******** *************** ***@posting.goo gle.com... Hi folks,
well, I've read some articles on authentificatio n, but somehow I can't get along with what I need.
I need to get the login name from the OS to check if this person is even able to start the application. If so, the person should get login window for the web application that is checked against a user database. I tried to use "Windows" and "Forms" authentificatio n, but it doesn't do what I need! Every time I try to get the username of the windows user, I get either this damn ASPNET user or some other stuff.
I understand that the client logs on the the IIS as ASPNET, but how can I get the currently logged in on the OS?
Thanks in advance, Junky
Like Peter said you can use identity impersonate to force ASPNET to log on to
IIS as the windows user. But it's better to let it just operate as itself -
and make the user type their username, if there's any security considerations
whatsoever. It's more secure generally that way. You can set it so that
cookies remember what user it is, and log them in automatically.
"Junky" wrote: Hi folks,
well, I've read some articles on authentificatio n, but somehow I can't get along with what I need.
I need to get the login name from the OS to check if this person is even able to start the application. If so, the person should get login window for the web application that is checked against a user database. I tried to use "Windows" and "Forms" authentificatio n, but it doesn't do what I need! Every time I try to get the username of the windows user, I get either this damn ASPNET user or some other stuff.
I understand that the client logs on the the IIS as ASPNET, but how can I get the currently logged in on the OS?
Thanks in advance, Junky This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: maxx |
last post by:
Hi,
I want use the header authentification (HTTP/PHP module), and i've a
big problem for to get the varaibles 'PHP_AUTH-*".
This is my source code :
---------------------------------------------------------------------------------
<?php
function authentificate() {
header('WWW-Authenticate: Basic realm="My Realm"');
|
by: Jonas S. |
last post by:
Hi all,
I need some simple component (COM+ or just DLL) source to perform Basic
Authentification for ASP solution.
Short explanation what I mean:
In non secure area I've a form with fields Login name and password. After
pressing submit button that component has to redirect to page in secure area
(https://) and perform NT Basic authentification [ or redirect to another
page saying about failing).
..
That has to be replacement of that...
|
by: Ivan Demkovitch |
last post by:
Hi!
I'm reading thru everything I could find on "user Authentification" topic.
There is couple of options ASP.NET suggest: Forms, Passport, etc...
My application is simple portal with forums and Online store will be added
in future.
It will be hosted using hosting provider (no way to setup security, etc..)
|
by: SalamElias |
last post by:
I have an application where I added the attribute requireSSL="false" in the
authentification elemnt in the dev environment and the apllication compile
with no problem. What I want to do is, In production, is to use forms
authentification, so when somebody clicks to view a protected page, he should
be redirected to https://myserver/login.aspx instead of
http://myserver/login.aspx
I moved this application (Copy/paste) into a Virtual...
|
by: Dan |
last post by:
hi ng,
i have a problem with windows authentification.
i want to forward every user who
1. is not authorized
2. or could not be authenticated
to a login page
-------------------
| |
by: bob |
last post by:
1) Authentification NT:
En ASP (pas ASP.Net),
comment on recupere le login/pwd windows ?
On veut automatiquement authentifier un utilisateur d'après son login NT (il
a pas besoin de se connecter
sur le site, on verifie qu'il a les droits d'apres son login).
2) Manipulation HTTP
|
by: Greg Hill |
last post by:
Hi
I'm trying to access a web server that requires authentification for a https
page. I can access http pages on that server but get "(401) Authentification
Error" for the https page. I have a login for that page but don't know where
my code is wrong. Any hints will be appreciated.
TIA Greg
Code:
|
by: Sebastian Terodde |
last post by:
Hi NG,
I wrote a DLL using VB.net.
There I made a function to authenticate on a domain.
The code came from a KB Article.
I works perfectly excepts that the login takes 3-4 seconds. But thats not a
serious Problem. The real problem is, that if I use this DLL in another
program, the authentification still takes a long time and then the program
runs very very slow ... even if there is no code ... it always takes 2-3
|
by: mark4asp |
last post by:
This is a simplified version of my site.
There are Premium users who have access to the Premium directory.
Anyone else attempting to access it should be logged and then
redirected to the Premium.aspx - which explains the advantages of
being a Premium member and provides examples of content.
The default page for site visitors is "News/Default.aspx" but only
those with cookies set should go there otherwise visitors need to
login to...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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...
|
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...
|
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();...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |