Jump to content

Recommended Posts

Posted

HI

 

I have an internal intranet site and I would like to restrict to who can view it. I have setup IIS and the site is up and running. I would like to setup security so when a user access the site it authenticates them transparently if they are logged onto the domain.

 

What security settings do i need to set in IIS to achieve this please?

 

Thanks

 

z

Posted

Hi FN-Greatermanchester,

 

Have you thought about using ASP.NET? Within the web.config put in

 

Then as venkatzeus (asp.net web application authentication - ASP.NET Forums) said

Please try this:

 

1. In the Browser (IE), go to "Tools->Options...-> security tab", add the

website address to "Trusted Sites",

 

or

 

 

2. Select "Local Intranet" and click "Custom Level...", scroll down to "User

Authentication->User Logon", select "Automatically logon with current user

name and password".

 

Also please try enabling the Anonymous access.

 

Click Start->Run->inetmgr->check Properties of "Web Sites"->switch to Directory Security->edit Authentication and Access control->Check "Enable Anonymous Access"

 

Hope this helps!

  • Thanks 1
Posted

In the properties for the site, under 'Directory Security' then 'Authentication and Access Control' switch off anonymous mode and ensure that Integrated Windows Authentication is on.

 

IIRC you can leave anonymous on, and IWA will take precedence, but don't quote me on it.

Posted
Oh one caveat I have found: if the address you are using has a dot in it (like intranet.mydomain.local) IE will not transmit authentication data, and the user will be prompted to log in in the normal way.
Posted

Hi guys

 

if i add it to the list of intranet site it does just what i want it to. Is there a way to add it in group policy please?

 

Thanks

  • 5 months later...
Posted

I'm having a similar issue. We have 1 network and 2 Intranet sites (staff and student).

 

My predecessor set them both up with the IIS default anonymous user authentication, which has worked great till now.

 

The students have found the ip of the staff Intranet and can now browse it.

 

I need to set the staff Intranet so only staff accounts can access it.

 

How on earth do I do it?

 

Both sites are home made and not a cms or vle package.

Posted

Setup IIS to use Ad authetntication, then on the website itself set the permissions so only staff can read. Then add the address to the local intranet. Can be dome ,works a treat.

 

If your stuck give us a shout.

 

Z

Posted

I tried that first, I gave the staff group read rights to c:\inetpub\intranet

 

then unticked the anonymous user in authentication methods and selected Integrated Windows Authentication.

 

but now when you browse to the site as a staff member it brings up a login box to connect to the site.

 

Any ideas?

Posted

at right, well have you added the site to the local intranet in IE settings?

 

Also when you set the permissions wipe all existing ones then add the groups you want to view and change. There is a group (cant remember the name) that when it is added it lets people in it shouldn't

  • Thanks 1
Posted
Thats it!, I didn't add it to the policy, done that and it works a treat.

 

Cheers

 

Easy mistake to make, i take it you did it in group policy?

 

can i have a thanks please ;)

 

Z

Posted

Do you have any knowledge of frontpage forms/components?

 

The staff member that manages and creates our intranet sites will only use frontpage to make them and using the built in forms within.

 

since changing the authentication they no longer work, when you submit a form it wants to login again.

 

Have I missed something in the gpo?

Posted

IIS does not authenticate against AD directly.

 

In IIS if you goto the properties tab for the website in question and then select the security tab you will then need to edit the security details.

 

If you remove the anonymous access tick and place a tick in the intergrated windows authentication this will then grab the security tokens of the logged in user and that they are an authenticated user.

 

That is the extent of what this does, if you want to go further you can either use NTFS permissions to restrict access to the site or pages or you can do it at the code (ASP/PHP/ASP.NET) level.

 

What are you expecting to happen when this form is submitted?

 

What info are you expecting to gather about the user?

 

What authentication methods are you using? (forms to login, single sign on)

Posted
they are just basic email forms, like feedback forms, we have one for our premises and one for submitting grades. the forms just email an addresses.
Posted
Sorted it. Just for reference, the permissions within the frontpage extensions must be changed as well. In frontpage server administration add the user group from ad to the browser group.
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...