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

Question about windows integrated security

NWx
Hi,

I developed a small test app using ASP.NET. I left the vistual folder to be
accessible only with windows integrated security.
I try to access that app from another PC in my LAN. I don't have a domain
controller, the lan works with Workgroup.

When I access that page, I get a user login dialog, aking me to enter
username / password

I have an user account on that pc, and try to enter that username, and pass,
but autantication fail and I see that dialog again and again.

To be more specific

server pc is called TTMServer
PC I try to connect from is called TTMWS

On TTMServer I have a user account with administrative privileges, John,
password John22
On TTMWS I also have an account John, with pass John22, admin account type
too

I work on TTMWS, and I'm logged on account John

When I try to access my app

http://ttmserver/Testapp

I get the user login window.

I try enter user John or user TTMServer\John, and pass John22, but no luck.
I'm not autenticated, so I cannot see that page

What I did wrong? How someone over internet, who have a user account on a PC
hosting the web server, can access a app which uses Windows autentication ?

Thank you for any help

Nov 18 '05 #1
4 1493
Not only do you have enter a valid user account for the server, but that
user account needs to have appropriate NTFS permissions to the actual file
you want to read off the server's hard disk. I would check the NTFS
permissions on the server.

Cheers
Ken
"NWx" <te**@test.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
: Hi,
:
: I developed a small test app using ASP.NET. I left the vistual folder to
be
: accessible only with windows integrated security.
: I try to access that app from another PC in my LAN. I don't have a domain
: controller, the lan works with Workgroup.
:
: When I access that page, I get a user login dialog, aking me to enter
: username / password
:
: I have an user account on that pc, and try to enter that username, and
pass,
: but autantication fail and I see that dialog again and again.
:
: To be more specific
:
: server pc is called TTMServer
: PC I try to connect from is called TTMWS
:
: On TTMServer I have a user account with administrative privileges, John,
: password John22
: On TTMWS I also have an account John, with pass John22, admin account type
: too
:
: I work on TTMWS, and I'm logged on account John
:
: When I try to access my app
:
: http://ttmserver/Testapp
:
: I get the user login window.
:
: I try enter user John or user TTMServer\John, and pass John22, but no
luck.
: I'm not autenticated, so I cannot see that page
:
: What I did wrong? How someone over internet, who have a user account on a
PC
: hosting the web server, can access a app which uses Windows autentication
?
:
: Thank you for any help
:
:
:
Nov 18 '05 #2
NWx
Hi,
Not only do you have enter a valid user account for the server, but that
user account needs to have appropriate NTFS permissions to the actual file
you want to read off the server's hard disk. I would check the NTFS
permissions on the server.
User account I try to logon with has admnistrator rights, so it can access
and file and folder.

Do you have any other suggestion?

Thank you.

Cheers
Ken
"NWx" <te**@test.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
: Hi,
:
: I developed a small test app using ASP.NET. I left the vistual folder to
be
: accessible only with windows integrated security.
: I try to access that app from another PC in my LAN. I don't have a domain : controller, the lan works with Workgroup.
:
: When I access that page, I get a user login dialog, aking me to enter
: username / password
:
: I have an user account on that pc, and try to enter that username, and
pass,
: but autantication fail and I see that dialog again and again.
:
: To be more specific
:
: server pc is called TTMServer
: PC I try to connect from is called TTMWS
:
: On TTMServer I have a user account with administrative privileges, John,
: password John22
: On TTMWS I also have an account John, with pass John22, admin account type : too
:
: I work on TTMWS, and I'm logged on account John
:
: When I try to access my app
:
: http://ttmserver/Testapp
:
: I get the user login window.
:
: I try enter user John or user TTMServer\John, and pass John22, but no
luck.
: I'm not autenticated, so I cannot see that page
:
: What I did wrong? How someone over internet, who have a user account on a PC
: hosting the web server, can access a app which uses Windows autentication ?
:
: Thank you for any help
:
:
:

Nov 18 '05 #3
It would be unusual for a local admin not to be able to access a page *but*
it is possible to remove access to admins from a page. Check the NTFS
permissions.

Next - I would enable auditing for "logon failures" if it's not currently
enabled. You will then see, in the security Event Log, and logon failure
event, recording the account that the server thinks it being used, and a
possible reason why the logon is failing.

What you have setup should work, but for some reason it's not, so we need to
try and work out where it's failing.

Cheers
Ken
"NWx" <te**@test.com> wrote in message
news:er**************@tk2msftngp13.phx.gbl...
: Hi,
:
: > Not only do you have enter a valid user account for the server, but that
: > user account needs to have appropriate NTFS permissions to the actual
file
: > you want to read off the server's hard disk. I would check the NTFS
: > permissions on the server.
:
: User account I try to logon with has admnistrator rights, so it can access
: and file and folder.
:
: Do you have any other suggestion?
:
: Thank you.
:
:
:
: >
: > Cheers
: > Ken
: >
: >
: > "NWx" <te**@test.com> wrote in message
: > news:%2****************@TK2MSFTNGP12.phx.gbl...
: > : Hi,
: > :
: > : I developed a small test app using ASP.NET. I left the vistual folder
to
: > be
: > : accessible only with windows integrated security.
: > : I try to access that app from another PC in my LAN. I don't have a
: domain
: > : controller, the lan works with Workgroup.
: > :
: > : When I access that page, I get a user login dialog, aking me to enter
: > : username / password
: > :
: > : I have an user account on that pc, and try to enter that username, and
: > pass,
: > : but autantication fail and I see that dialog again and again.
: > :
: > : To be more specific
: > :
: > : server pc is called TTMServer
: > : PC I try to connect from is called TTMWS
: > :
: > : On TTMServer I have a user account with administrative privileges,
John,
: > : password John22
: > : On TTMWS I also have an account John, with pass John22, admin account
: type
: > : too
: > :
: > : I work on TTMWS, and I'm logged on account John
: > :
: > : When I try to access my app
: > :
: > : http://ttmserver/Testapp
: > :
: > : I get the user login window.
: > :
: > : I try enter user John or user TTMServer\John, and pass John22, but no
: > luck.
: > : I'm not autenticated, so I cannot see that page
: > :
: > : What I did wrong? How someone over internet, who have a user account
on
: a
: > PC
: > : hosting the web server, can access a app which uses Windows
: autentication
: > ?
: > :
: > : Thank you for any help
: > :
: > :
: > :
: >
: >
:
:
Nov 18 '05 #4
NWx
Hi,
It would be unusual for a local admin not to be able to access a page *but* it is possible to remove access to admins from a page. Check the NTFS
permissions.
This is a test server, so it cannot be accessed over internet
The virtual folder is located on a FAT32 drive, do there is no file or
folder restriction available.
Next - I would enable auditing for "logon failures" if it's not currently
enabled. You will then see, in the security Event Log, and logon failure
event, recording the account that the server thinks it being used, and a
possible reason why the logon is failing.
Sorry to ask, but how can I do this? I don't know much beside basic settings
(minimum necessary to be able to setup virtual folder for a web app -
ASP.NET, ASP or PHP) about managing IIS.

Actually, I tried connecting to the server again, but probaly I changed
something since last time, and now I get a different behaviour: user logon
form opened by browser has TTMSERVER\Guest filled automatically in user
login, and it is disabled (so I cannot change it to John anymore), so I can
only enter a password.

What could be the reason for this?

Many thanks for your patience.

Cheers

What you have setup should work, but for some reason it's not, so we need to try and work out where it's failing.

Cheers
Ken server
"NWx" <te**@test.com> wrote in message
news:er**************@tk2msftngp13.phx.gbl...
: Hi,
:
: > Not only do you have enter a valid user account for the server, but that : > user account needs to have appropriate NTFS permissions to the actual
file
: > you want to read off the server's hard disk. I would check the NTFS
: > permissions on the server.
:
: User account I try to logon with has admnistrator rights, so it can access : and file and folder.
:
: Do you have any other suggestion?
:
: Thank you.
:
:
:
: >
: > Cheers
: > Ken
: >
: >
: > "NWx" <te**@test.com> wrote in message
: > news:%2****************@TK2MSFTNGP12.phx.gbl...
: > : Hi,
: > :
: > : I developed a small test app using ASP.NET. I left the vistual folder to
: > be
: > : accessible only with windows integrated security.
: > : I try to access that app from another PC in my LAN. I don't have a
: domain
: > : controller, the lan works with Workgroup.
: > :
: > : When I access that page, I get a user login dialog, aking me to enter : > : username / password
: > :
: > : I have an user account on that pc, and try to enter that username, and : > pass,
: > : but autantication fail and I see that dialog again and again.
: > :
: > : To be more specific
: > :
: > : server pc is called TTMServer
: > : PC I try to connect from is called TTMWS
: > :
: > : On TTMServer I have a user account with administrative privileges,
John,
: > : password John22
: > : On TTMWS I also have an account John, with pass John22, admin account : type
: > : too
: > :
: > : I work on TTMWS, and I'm logged on account John
: > :
: > : When I try to access my app
: > :
: > : http://ttmserver/Testapp
: > :
: > : I get the user login window.
: > :
: > : I try enter user John or user TTMServer\John, and pass John22, but no : > luck.
: > : I'm not autenticated, so I cannot see that page
: > :
: > : What I did wrong? How someone over internet, who have a user account
on
: a
: > PC
: > : hosting the web server, can access a app which uses Windows
: autentication
: > ?
: > :
: > : Thank you for any help
: > :
: > :
: > :
: >
: >
:
:

Nov 18 '05 #5

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

Similar topics

4
by: Jeremy | last post by:
In my ASP.NET web applications I would like to use "integrated security=SSPI" instead of supplying a SQL Server account credentials. From what I understand there are security policy settings...
43
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
2
by: epaetz | last post by:
I'm getting Not associated with a trusted SQL Server connection errors on a .Net windows service I wrote, when it's running on my application server. It's not a problem with mixed mode...
8
by: John Lee | last post by:
Hi, If I want to check permission on each public method of a web service, (assume the checking routine is ready to use and called AccessCheck) , one way of doing it is to call this AccessCheck...
3
by: jm | last post by:
Right now, I have a MySQL database that has groups defined (not AD groups) and based upon which group a user is in they are allowed certain pages, controls, etc. I want to make my systems more...
2
by: J-T | last post by:
We have an asp.net application with <identity impersonate="true"/> and <authentication mode="Windows" /> in our web config and we are using Windows integrated in IIS and also NT AUTHORITY\NETWORK...
2
by: Bob | last post by:
I would like to use integrated security for DB connection for my ASP.NET applications. Since these apps have different databases (SQL Server), I want each app to be able to access its own...
7
by: Bernie Yaeger | last post by:
I can't believe that there aren't lots of developers who: 1. create a crystal report that connects to sql server 2. calls the report using the crystalreportviewer control to view it and then,...
7
by: jason | last post by:
In the microsoft starter kit Time Tracker application, the data access layer code consist of three cs files. DataAccessHelper.cs DataAcess.cs SQLDataAccessLayer.cs DataAcccessHelper appears...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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...

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.