Re: Webpage which can Authenticate via Active Directory
- From: robinwilson16 <robinwilson16@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 9 Nov 2006 14:21:02 -0800
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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:05007B21-7AB8-4C8C-A829-C70B9AA35846@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:04A459B9-BE28-4875-9D48-0F82C0995C39@xxxxxxxxxxxxxxxx
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
- References:
- Prev by Date: Re: creating folder tree structures
- Next by Date: Re: Add to MS Access database
- Previous by thread: Re: Webpage which can Authenticate via Active Directory
- Next by thread: Include all files in subfolders
- Index(es):
Relevant Pages
|