Hello

We have various web scripts and in each one we have to store all the users
in a seperate database.

It would simplify things a lot if we could show a webpage where users enter
their Windows username and password and the form would authenticate via
active directory and either fail if incorrect or set some variable to allow
users to access the rest of the script.

I was hoping to be able to write this in VB Script as this is what all the
scripts are written in.

Thanks for any help

Robin

Re: Webpage which can Authenticate via Active Directory by bob

bob
Wed Nov 08 08:10:20 CST 2006

uhm... why not just set the authentication method in IIS to integrated
windows authentication? then you simply use NTFS permissions on the files
and directories to give access to your AD users. am i missing something
here?



"robinwilson16" <robinwilson16@discussions.microsoft.com> wrote in message
news:04A459B9-BE28-4875-9D48-0F82C0995C39@microsoft.com...
> Hello
>
> We have various web scripts and in each one we have to store all the
> users
> in a seperate database.
>
> It would simplify things a lot if we could show a webpage where users
> enter
> their Windows username and password and the form would authenticate via
> active directory and either fail if incorrect or set some variable to
> allow
> users to access the rest of the script.
>
> I was hoping to be able to write this in VB Script as this is what all the
> scripts are written in.
>
> Thanks for any help
>
> Robin



Re: Webpage which can Authenticate via Active Directory by robinwilson16

robinwilson16
Wed Nov 08 15:02:01 CST 2006

Thanks for the help

I have solved the issue now. I did not want the standard login box poping up
but wanted to use forms authentication to determine Active Directory
information such as group membership.
This then enabled me to customise the various web apps to all authenticate
via AD instead of having to duplicate usernames and passwords in all
databases.
This way when new users join the organisation, it saves having to create
accounts for them in loads of different places

With the help of http://www.eggheadcafe.com/articles/20010126.asp and a few
other scripts I found I managed to do what I wanted.

Robin

"bob m" wrote:

> uhm... why not just set the authentication method in IIS to integrated
> windows authentication? then you simply use NTFS permissions on the files
> and directories to give access to your AD users. am i missing something
> here?
>
>
>
> "robinwilson16" <robinwilson16@discussions.microsoft.com> wrote in message
> news:04A459B9-BE28-4875-9D48-0F82C0995C39@microsoft.com...
> > Hello
> >
> > We have various web scripts and in each one we have to store all the
> > users
> > in a seperate database.
> >
> > It would simplify things a lot if we could show a webpage where users
> > enter
> > their Windows username and password and the form would authenticate via
> > active directory and either fail if incorrect or set some variable to
> > allow
> > users to access the rest of the script.
> >
> > I was hoping to be able to write this in VB Script as this is what all the
> > scripts are written in.
> >
> > Thanks for any help
> >
> > Robin
>
>
>

Re: Webpage which can Authenticate via Active Directory by bob

bob
Thu Nov 09 12:52:02 CST 2006

you do realize youre reinventing the wheel? integrated windows
authentication in IIS automatically authenticates the user against AD. so
now you can give a group access to your site, and simply add users to the
group when you have to... no need to type ANY username or password



"robinwilson16" <robinwilson16@discussions.microsoft.com> wrote in message
news:05007B21-7AB8-4C8C-A829-C70B9AA35846@microsoft.com...
> Thanks for the help
>
> I have solved the issue now. I did not want the standard login box poping
> up
> but wanted to use forms authentication to determine Active Directory
> information such as group membership.
> This then enabled me to customise the various web apps to all authenticate
> via AD instead of having to duplicate usernames and passwords in all
> databases.
> This way when new users join the organisation, it saves having to create
> accounts for them in loads of different places
>
> With the help of http://www.eggheadcafe.com/articles/20010126.asp and a
> few
> other scripts I found I managed to do what I wanted.
>
> Robin
>
> "bob m" wrote:
>
>> uhm... why not just set the authentication method in IIS to integrated
>> windows authentication? then you simply use NTFS permissions on the files
>> and directories to give access to your AD users. am i missing something
>> here?
>>
>>
>>
>> "robinwilson16" <robinwilson16@discussions.microsoft.com> wrote in
>> message
>> news:04A459B9-BE28-4875-9D48-0F82C0995C39@microsoft.com...
>> > Hello
>> >
>> > We have various web scripts and in each one we have to store all the
>> > users
>> > in a seperate database.
>> >
>> > It would simplify things a lot if we could show a webpage where users
>> > enter
>> > their Windows username and password and the form would authenticate via
>> > active directory and either fail if incorrect or set some variable to
>> > allow
>> > users to access the rest of the script.
>> >
>> > I was hoping to be able to write this in VB Script as this is what all
>> > the
>> > scripts are written in.
>> >
>> > Thanks for any help
>> >
>> > Robin
>>
>>
>>



Re: Webpage which can Authenticate via Active Directory by robinwilson16

robinwilson16
Thu Nov 09 16:21:02 CST 2006

Yes but I needed it to be able to get information on group membership and
username to be able to insert data into a mysql database and assign
permissions to the user.
I also wanted to keep the resources looking the same with the same web based
login forms.
I believe this was the only way to accomplish this. I may be wrong though.


"bob m" wrote:

> you do realize youre reinventing the wheel? integrated windows
> authentication in IIS automatically authenticates the user against AD. so
> now you can give a group access to your site, and simply add users to the
> group when you have to... no need to type ANY username or password
>
>
>
> "robinwilson16" <robinwilson16@discussions.microsoft.com> wrote in message
> news:05007B21-7AB8-4C8C-A829-C70B9AA35846@microsoft.com...
> > Thanks for the help
> >
> > I have solved the issue now. I did not want the standard login box poping
> > up
> > but wanted to use forms authentication to determine Active Directory
> > information such as group membership.
> > This then enabled me to customise the various web apps to all authenticate
> > via AD instead of having to duplicate usernames and passwords in all
> > databases.
> > This way when new users join the organisation, it saves having to create
> > accounts for them in loads of different places
> >
> > With the help of http://www.eggheadcafe.com/articles/20010126.asp and a
> > few
> > other scripts I found I managed to do what I wanted.
> >
> > Robin
> >
> > "bob m" wrote:
> >
> >> uhm... why not just set the authentication method in IIS to integrated
> >> windows authentication? then you simply use NTFS permissions on the files
> >> and directories to give access to your AD users. am i missing something
> >> here?
> >>
> >>
> >>
> >> "robinwilson16" <robinwilson16@discussions.microsoft.com> wrote in
> >> message
> >> news:04A459B9-BE28-4875-9D48-0F82C0995C39@microsoft.com...
> >> > Hello
> >> >
> >> > We have various web scripts and in each one we have to store all the
> >> > users
> >> > in a seperate database.
> >> >
> >> > It would simplify things a lot if we could show a webpage where users
> >> > enter
> >> > their Windows username and password and the form would authenticate via
> >> > active directory and either fail if incorrect or set some variable to
> >> > allow
> >> > users to access the rest of the script.
> >> >
> >> > I was hoping to be able to write this in VB Script as this is what all
> >> > the
> >> > scripts are written in.
> >> >
> >> > Thanks for any help
> >> >
> >> > Robin
> >>
> >>
> >>
>
>
>