Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default NT Authentication

    Hi,
    If the web service is called via a dotnet class in a windows application and
    not via a web browser, do the NT authentication details get passed to IIS?

    i.e. if we use web services as the middle layer for an application rather
    than remoting do I need to do any extra work to get hold of the users
    credentials that have made the call?

    Thanks for any help.

    Steve


    Steve Letford Guest

  2. Similar Questions and Discussions

    1. Accessing htm files without authentication (forms authentication)
      I have application with forms authentication. All works fine. When user opens .aspx file gets login form, login and then get the .aspx page. But...
    2. ASP.Net Forms authentication with basic authentication popup
      Relatively new to ASP.Net but have a strange problem. My site uses forms authentication for a large administration section however after the user...
    3. Forms authentication then redirection to a secure web with NT authentication?
      Hi, I want to allow access to particular secured intranet web sites. These intranet are stored in sharepoint (2003 version) Actually I've...
    4. Authentication ticket, cookieless, forms authentication?
      Hi. I want to use Forms Authentication, cookieless. The issue is setting the Authentication Ticket without using cookies (!) That is, the...
    5. Forms authentication with Windows authentication
      Hi, I have an ASP.NET web site that uses IIS Basic Authentication and accesses an OLAP Server at various stages. The OLAP Server authentication...
  3. #2

    Default Re: NT Authentication

    On Mon, 12 Jul 2004 20:35:58 +1200, Steve Letford <steve@straker.co.nz>
    wrote:
    > Hi,
    > If the web service is called via a dotnet class in a windows application
    > and
    > not via a web browser, do the NT authentication details get passed to
    > IIS?
    >
    > i.e. if we use web services as the middle layer for an application
    > rather
    > than remoting do I need to do any extra work to get hold of the users
    > credentials that have made the call?
    >
    > Thanks for any help.
    >
    > Steve
    >
    >
    [url]http://samples.gotdotnet.com/quickstart/aspplus/doc/secureservices.aspx[/url]

    --
    Craig Deelsnyder
    Microsoft MVP - ASP/ASP.NET
    Craig Deelsnyder Guest

  4. #3

    Default NT Authentication

    Goal: To add security to selected pages on my company?s Intranet, preferably
    based on the NT user account they are already logged into (so they wont have to
    remember a separate login & password).
    At minimum I just need to be able to pull the ServerVariables("LOGON_USER")
    into the page. Then I could code my ASP page to provide or suppress certain
    elements of the page, or bring that username into the SQL statement. But it
    seems the NT permissions also need to be properly set.

    What I?ve done so far:

    IIS Directory Security is set to:
    Anonymous Access OFF
    Basic Authentication OFF
    Digest Authentication for Windows Domain Servers OFF
    Integrated Windows Authentication ON

    NT Properties on the directory includes all Domain Users with: Read & Execute,
    List Folder Contents, and Read permissions.

    When I access pages in this directory with a normal user?s account, plane HTML
    pages come up fine, but dynamic pages (namely ASP) prompts the for a user with
    a log in dialog which brings back the message ?Error: Access Denied?.
    When I access the pages with my Admin account the dynamic pages come up fine.

    So, what?s? going on here?!
    Even if I give the Domain User?s group the same permissions as my admin
    account they still get prompted for a log in and ultimately brought to an
    Access Denied message.
    Is there someplace else I need grant the domain users execute permissions for
    this folder?

    Glitch808 Guest

  5. #4

    Default Re: NT Authentication

    Please Help
    Glitch808 Guest

  6. #5

    Default Re: NT Authentication

    It seems to me that you're set up properly. Execute (scripts only)
    permission on the directory where your site resides should be all that's
    needed. Be sure you granted domain users permission, not just local
    computer users. Then, if you've granted permission to domain users, you've
    still got the problem of users potentially logging into their local computer
    account (if they have one) instead of their domain account.
    You might try one of Microsoft's newsgroups. The NNTP server is
    msnews.microsoft.com, then you can try an appropriate ASP or IIS group to
    help.


    "Glitch808" <webforumsuser@macromedia.com> wrote in message
    news:d0l46r$g4o$1@forums.macromedia.com...
    > Goal: To add security to selected pages on my company?s Intranet,
    preferably
    > based on the NT user account they are already logged into (so they wont
    have to
    > remember a separate login & password).
    > At minimum I just need to be able to pull the
    ServerVariables("LOGON_USER")
    > into the page. Then I could code my ASP page to provide or suppress
    certain
    > elements of the page, or bring that username into the SQL statement. But
    it
    > seems the NT permissions also need to be properly set.
    >
    > What I?ve done so far:
    >
    > IIS Directory Security is set to:
    > Anonymous Access OFF
    > Basic Authentication OFF
    > Digest Authentication for Windows Domain Servers OFF
    > Integrated Windows Authentication ON
    >
    > NT Properties on the directory includes all Domain Users with: Read &
    Execute,
    > List Folder Contents, and Read permissions.
    >
    > When I access pages in this directory with a normal user?s account, plane
    HTML
    > pages come up fine, but dynamic pages (namely ASP) prompts the for a user
    with
    > a log in dialog which brings back the message ?Error: Access Denied?.
    > When I access the pages with my Admin account the dynamic pages come up
    fine.
    >
    > So, what?s? going on here?!
    > Even if I give the Domain User?s group the same permissions as my admin
    > account they still get prompted for a log in and ultimately brought to an
    > Access Denied message.
    > Is there someplace else I need grant the domain users execute permissions
    for
    > this folder?
    >

    CMBergin Guest

  7. #6

    Default Re: NT Authentication

    Their was a higher level of permissions (share drive permissions) that was negating my directory permissions.
    Glitch808 Guest

  8. #7

    Default NT Authentication

    I have an LDAP connection that is working. I would like to catch a persons NT
    Login '<domain>\<login>' and then use that to query the Ldap information. Thus
    removing the need to fill out you name evey time you use some of my forms.

    mathetes Guest

  9. #8

    Default Re: NT Authentication

    #CGI.AUTH_USER#
    gwgiswebmaster Guest

  10. #9

    Default Re: NT Authentication

    I tried that, did not get anything..
    mathetes Guest

  11. #10

    Default Re: NT Authentication

    is the site you are referring to on an intranet on the same NT domain? Also,
    is your site set up to allow for domain authentification? if you said no to
    both questions, then no, you won't have access to this variable.

    gwgiswebmaster Guest

  12. #11

    Default NT Authentication

    I'm trying to use NT Authentication for one of my applications. Does anyone
    know if I have to use IIS web server in order to make NT Authentication work?
    Right now, all of our applications are running from ColdFusion's built-in
    webserver. If I do have to use IIS, can I continue to have my other
    applications run from the build-in web server and just have the ones using NT
    Authentication run from IIS?

    cfkw Guest

  13. #12

    Default Re: NT Authentication

    What version of CF are you using? If it is 6 or 7, you'll need to make LDAP
    calls to an AD server to authenticate to your apps.

    Now, if you want to control access to the sites, then you'll need IIS and use
    NTFS privs. You should be using IIS anyway. The built in web server isn't
    meant for production work.

    ke4pym Guest

  14. #13

    Default Re: NT Authentication

    I have some pages that require a userid / password. I want the password for
    staff to be there W2K3 password. Should I be looking at this LDAP solution?

    -brian

    "ke4pym" <tforrest@carolinas.org> wrote in message
    news:e92mmk$ia9$1@forums.macromedia.com...
    > What version of CF are you using? If it is 6 or 7, you'll need to make
    > LDAP
    > calls to an AD server to authenticate to your apps.
    >
    > Now, if you want to control access to the sites, then you'll need IIS and
    > use
    > NTFS privs. You should be using IIS anyway. The built in web server
    > isn't
    > meant for production work.
    >

    Brian Hogue Guest

  15. #14

    Default Re: NT Authentication

    There is a <CFNTAuthenticate> tag that works well supplying it user, pass, and domain. But perhaps CFLDAP would be better. Certainly more emnable to environment changes down the line.
    JMGibson3 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139