Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Dynamically adding user names and passwords for web site p..

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  eseguibile e autorizzazioni  
Author Message
user925

External


Since: Oct 08, 2003
Posts: 1



(Msg. 1) Posted: Wed Oct 08, 2003 5:18 pm
Post subject: Dynamically adding user names and passwords for web site protection
Archived from groups: microsoft>public>win2000>security, others (more info?)

Hi!

Could anyone please explain how I can do the following on a
Windows2000 server machine?

I would like to be able to allow access to some directories on a web
site (using IIS) based on a plain text file (located in a secured
directory of course) containing a list of users and passwords.

Right now, the only way I know of is to manually create a new user and
add it to a group of users that have access to that directory. But
there must be ways to do that without going through the GUI of the
users manager on the server right?

Any help appreciated!

Koen

PS
The reason I want to do that is because I need something on our web
site to allow access to certain pages on the site only for people
listed in a text file with their user name and password. We're not
using Apache (but IIS), so .htaccess won't do.

 >> Stay informed about: Dynamically adding user names and passwords for web site p.. 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 2) Posted: Wed Oct 08, 2003 5:18 pm
Post subject: Re: Dynamically adding user names and passwords for web site protection [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Koen" <no RemoveThis @ssppaamm.com> wrote in message
news:bm0u7d$qma$1@gaudi2.UGent.be...
 > Hi!
 >
 > Could anyone please explain how I can do the following on a
 > Windows2000 server machine?
 >
 > I would like to be able to allow access to some directories on a web
 > site (using IIS) based on a plain text file (located in a secured
 > directory of course) containing a list of users and passwords.

You'll need a third-party component as this is not supported natively.
Something like this might help: <a style='text-decoration: underline;' href="http://www.flicks.com/flicks/authx.htm" target="_blank">http://www.flicks.com/flicks/authx.htm</a>

 > Right now, the only way I know of is to manually create a new user and
 > add it to a group of users that have access to that directory. But
 > there must be ways to do that without going through the GUI of the
 > users manager on the server right?

It can be scripted. See the two articles on adding and editing users and
groups.
<a style='text-decoration: underline;' href="http://www.15seconds.com/focus/ADSI.htm" target="_blank">http://www.15seconds.com/focus/ADSI.htm</a>

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Dynamically adding user names and passwords for web site p.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
mass adding domains.. - are there any scripts/3rd party programs that let you mass add domains based on a template/default settings? preferrably it would add site, both web and ftp, and perhaps user too. tips are welcome

IIS 6.0 Adding Virtual Directory Property - When adding the "Path" key to a new virtual directory key in IIS 6.0, the SetData method fails on me. The same C++ code will execute flawlessly on Windows 2000 running IIS 5.0. Has anyone ever had this problem? Here's my code: METADATA...

Re-adding SMTP virtual to IIS after Lockdown ? - After running IIS Lockdown ages ago, it removed my SMTP virtual directory option from the IIS System Manager. No big deal, I am using Exchange on the box and it hasn't caused any problems. Now, I am using Mail Storage Guard to stop Exchange from sending...

Word in an ISAPI Extensions : Adding permissions without u.. - Hello, I've an ISAPI extension which uses Word (DCOM). I would like to add permissions directly in my code, so without using DCOMCNFG, but I don't know if it is possible. Here is my code without security rights : //..

Word in an ISAPI Extensions : Adding permissions without .. - Hello, I've an ISAPI extension which has to use Word (DCOM). I would like to add security permissions directly in the code, without using DCOMCNFG. Here is my code : CoInitializeEx(NULL,COINIT_MULTITHREADED | COINIT_SPEED_OVER_MEMORY); if..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]