I'm a new in ASP.NET Word. Just finishing writing my first web
application (CMS). It should be available anonymously for all users, but
some part (admin) should be available only for some (authenticated) users.
For folder with admin pages I turned off "enable anonymous access" and
checked "Integrated Windows authentication" . It works fine, only users
after logon can use this part of website, but I don't want to display
user and password window. What I need is to automatically authenticate
user basically on windows login. It is possible ? How to configure IIS
and application to turn off this window and authenticate automatically ?
disabling
best,
Slawomir 5 1254
Turn off integrated windows authentication and use
roles based authentication, setup the roles in web.config,
and use location tags to mark a directory as available to admins.
See a complete sample at : http://www.codeproject.com/aspnet/formsroleauth.asp
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espanol : http://asp.net.do/foros/
=============== =============== ========
"Slawomir" <sp***********@ o2.plwrote in message news:fh******** **@node1.news.a tman.pl...
I'm a new in ASP.NET Word. Just finishing writing my first web application (CMS). It should be available anonymously
for all users, but some part (admin) should be available only for some (authenticated) users.
For folder with admin pages I turned off "enable anonymous access" and checked "Integrated Windows authentication" . It
works fine, only users after logon can use this part of website, but I don't want to display user and password window.
What I need is to automatically authenticate user basically on windows login. It is possible ? How to configure IIS
and application to turn off this window and authenticate automatically ?
disabling
best,
Slawomir
Juan T. Llibre pisze:
Turn off integrated windows authentication and use
roles based authentication, setup the roles in web.config,
and use location tags to mark a directory as available to admins.
Thanx for advice, but I need to use windows authentication. The major
problem is that most of the users in AD doesn't know the password. Whole
corporation use intelligent cards to log on.
best,
Slawomir
Set the permissions (ACLs) on the physical directory that needs to be
"windows auth" protected to the appropriate AD Group.
--Peter
"Inside every large program, there is a small program trying to get out." http://www.eggheadcafe.com http://petesbloggerama.blogspot.com http://www.blogmetafinder.com
"Slawomir" wrote:
>
Juan T. Llibre pisze:
Turn off integrated windows authentication and use
roles based authentication, setup the roles in web.config,
and use location tags to mark a directory as available to admins.
Thanx for advice, but I need to use windows authentication. The major
problem is that most of the users in AD doesn't know the password. Whole
corporation use intelligent cards to log on.
best,
Slawomir
set the default domain (iis setting for site) to the most common. the
browser does not send the domain name, the mismatch is what causes the
dialog.
-- bruce (sqlwork.com)
Slawomir wrote:
I'm a new in ASP.NET Word. Just finishing writing my first web
application (CMS). It should be available anonymously for all users, but
some part (admin) should be available only for some (authenticated) users.
For folder with admin pages I turned off "enable anonymous access" and
checked "Integrated Windows authentication" . It works fine, only users
after logon can use this part of website, but I don't want to display
user and password window. What I need is to automatically authenticate
user basically on windows login. It is possible ? How to configure IIS
and application to turn off this window and authenticate automatically ?
disabling
best,
Slawomir
Here is the answer:
I needed to put my website IP address into local intranet zone in IE
(temporary) or AD (later)
best,
Slawomir This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bob Everland |
last post by:
I have an application that is ISAPI and the only way to
secure it is through NT permissions. I need to have a way
to login to windows authentication so that when I get to
the ISAPI application no boxes come up. I want an ASP page
to sit between the user and the ISAPI application. The
rest of my application is using authentication that is
database driven and wouldn't want the users to know the
userid and password. Is this possible? If so...
|
by: Joseph Geretz |
last post by:
I'm having a credentialing problem in my web application. Actually, I don't
think this is an IIS security issue, since I'm able to access the page I'm
requesting. However, the executing page itself is not able to access a
specific network resource and I just can't figure out why. First of all, let
me say this worked fine with IIS running on Win2000 Server. This has not
worked since I upgraded to Windows Server 2003.
My Platform: Windows...
|
by: pberna |
last post by:
Dear all,
I built a Web Form application to start and stop a Windows Service remotely.
I successful tested the application on Windows 2000 server + IIS. I must
include the ASPNET user
to the Administration group (on server side) to have the necessary
authorization to start a Windows Service (I don't understand why "Power
User" rights are not enough to do the same thing)
Although I'm able to start a service using windows 2000 server...
|
by: serge calderara |
last post by:
Dear all,
I clearly underdand the advantage of both type of authentification but is it
allowed or possible to set the Authentication mode to Windows and then handle
a login form for defined users in Credential section like as follow :
<authentication mode="Windows" >
<forms loginUrl="Login.aspx">
<credentials passwordFormat="Clear">
<user name="Jessee" password="JuneBug"/>
|
by: Keith H |
last post by:
I'm looking for a way to force the user to re-authenticate with their Windows
username/password/domain after clicking the submit button on an ASP.NET page.
This is for an internal application.
Does anyone know if/how this can be done?
| |
by: Hriday |
last post by:
Hi there, Please help me..It is urgent
This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.
|
by: Sudhakara.T.P. |
last post by:
Hi,
I have an application in VB.NET windows application, wherein the
administrator has the option to change the authentication mode ie., whether
the application should work as a normal database authentication or the
windows based authentication mode.
If the administrator sets the application authentication mode to windows
based, then the application has to verify the windows logged in username and
password and then allow the user to use...
|
by: =?Utf-8?B?RGFuZGFuIFpoYW5n?= |
last post by:
Now I have a web application, a web service and a SQL Server database.
The Web application will invoke the web service, the web service
invokes the SQL Server stored procedure.
I let the web service run in an application pool which runs under a
domain user, this domain user has permissions of accessing database and the
connection to database is trusted connection. All these work well.
The web application will be used in internet (not...
|
by: Preben Zacho |
last post by:
Hi there
The scenario I got is this: I have created a Windows application in VS and I
want to deploy it to another machine running Windows Vista. Since I have no
control over this other machine, I've set it up to run SQL Authentication
and I have added a new user called "MyUser" and applied a password. This
user/password is used in my connection string whick looks like this:
Server=.\SQLEXPRESS;Database=MyDB;User...
|
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...
|
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: 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,...
|
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...
|
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: 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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: 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...
| |