Ask a Question related to ASP Database, Design and Development.
-
Richard Morey #1
Directory Security via ASP / Or Adding user to Win2000 users
Hello,
I am working on a document management system for a client. I am planning to
set up the system so that documents are protected, sort of.. A user has an
access level and based on that access level, a list of available documents
will display as an HTML page and the user can click a hyperlink to download
or view the selected document.
I am planning to handle this all through a SQL database and ASP..
What I would REALLY like to do, though, is protect a set of directories so
that a user could not just enter a URL and download a document without being
prompted for a username and password if he/she hasn't already logged in.
I have done something like this using AuthnetiX from Flicks Software, but
this current client is trying to create a solution "on the cheap", and so
I'd like to see if I can build the solution using the secuirty mechanisms
built into the O/S.
What I'm thinking is that I'll set up the directories and assign a group
access to each directory.. My question then is, can I add users to the
"Local Users and Groups" for Windows 2000 via ASP?
Thanks,
Rich
Richard Morey Guest
-
Windows User Directory Security bypassed?
:confused;Using IIS6 under Windows 2003 with CFMX 6.1 When a cfm script file is located in a windows security restricted directory, the user is... -
Enable additional users properties in Active Directory users and Computers
"Mike Brannigan " <mikebran@online.microsoft.com> wrote in message news:O5qGXY1XEHA.808@tk2msftngp13.phx.gbl...... -
User directory security
There is a security issue between Unix system and Apache web server. We have many users in our Unix system, i.e. user1, user2 with home directory... -
Server cannot access application directory... The directory does not exist or is not accessible because of security settings.
Hi, I have this issue with the error below. Let me explain my goal and my server environement: Goal: To have 3 separate web servers reading... -
user security policy active directory
I want to apply a policy to a single user in our domain. For example, take away the run command, force background, etc. Like you could do with... -
Richard Morey #2
Directory Security via ASP / Or Adding user to Win2000 users
Hello,
I am working on a document management system for a client. I am planning to
set up the system so that documents are protected, sort of.. A user has an
access level and based on that access level, a list of available documents
will display as an HTML page and the user can click a hyperlink to download
or view the selected document.
I am planning to handle this all through a SQL database and ASP..
What I would REALLY like to do, though, is protect a set of directories so
that a user could not just enter a URL and download a document without being
prompted for a username and password if he/she hasn't already logged in.
I have done something like this using AuthnetiX from Flicks Software, but
this current client is trying to create a solution "on the cheap", and so
I'd like to see if I can build the solution using the secuirty mechanisms
built into the O/S.
What I'm thinking is that I'll set up the directories and assign a group
access to each directory.. My question then is, can I add users to the
"Local Users and Groups" for Windows 2000 via ASP?
Thanks,
Rich
Richard Morey Guest
-
Tom Kaminski [MVP] #3
Re: Directory Security via ASP / Or Adding user to Win2000 users
"Richard Morey" <rwmorey71@hotmail.com> wrote in message
news:%23$DBCrCYDHA.536@TK2MSFTNGP10.phx.gbl...Yes you can. Start here: [url]http://www.15seconds.com/focus/ADSI.htm[/url]> What I'm thinking is that I'll set up the directories and assign a group
> access to each directory.. My question then is, can I add users to the
> "Local Users and Groups" for Windows 2000 via ASP?
--
Tom Kaminski IIS MVP
[url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
[url]http://mvp.support.microsoft.com/[/url]
[url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
Tom Kaminski [MVP] Guest
-
Tom Kaminski [MVP] #4
Re: Directory Security via ASP / Or Adding user to Win2000 users
"Richard Morey" <rwmorey71@hotmail.com> wrote in message
news:%23$DBCrCYDHA.536@TK2MSFTNGP10.phx.gbl...Yes you can. Start here: [url]http://www.15seconds.com/focus/ADSI.htm[/url]> What I'm thinking is that I'll set up the directories and assign a group
> access to each directory.. My question then is, can I add users to the
> "Local Users and Groups" for Windows 2000 via ASP?
--
Tom Kaminski IIS MVP
[url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
[url]http://mvp.support.microsoft.com/[/url]
[url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
Tom Kaminski [MVP] Guest
-
Richard Morey #5
Re: Directory Security via ASP / Or Adding user to Win2000 users
Hi..
Probably.. thanks for pointing those out for me..
Rich
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bhapo8$1kl8@kcweb01.netnews.att.com...Administering> Isn't this what you want to do (3rd and 4th link)?
>
> Nov 27, 2001 - Learning ADSI - Part 2: Editing Users andIIS> Groups
>
>
>
> Oct 5, 2001 - Learning ADSI - Part 1: Adding Users To W2K
>
>
>
> --
> Tom Kaminski IIS MVP
> [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for runningyou> [url]http://mvp.support.microsoft.com/[/url]
> [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
>
> "Richard Morey" <rwmorey71@hotmail.com> wrote in message
> news:uVypIDNYDHA.1384@TK2MSFTNGP10.phx.gbl...> > Hi..
> >
> > Thanks for that link.. There are a lot of articles listed though. Canthe> stuff,> > tell me which once I want to be looking at?
> >
> > Also, it seems the titles on most of those articles refer to DOT NET> group> > but I'm just doing plain ASP as far as I know..
> >
> > Thanks again,
> >
> > Rich
> >
> > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> > news:bh8n2b$1kl5@kcweb01.netnews.att.com...> > > "Richard Morey" <rwmorey71@hotmail.com> wrote in message
> > > news:%23$DBCrCYDHA.536@TK2MSFTNGP10.phx.gbl...
> > > > What I'm thinking is that I'll set up the directories and assign a> > > > access to each directory.. My question then is, can I add users torunning> > > > "Local Users and Groups" for Windows 2000 via ASP?
> > >
> > > Yes you can. Start here: [url]http://www.15seconds.com/focus/ADSI.htm[/url]
> > >
> > > --
> > > Tom Kaminski IIS MVP
> > > [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for>> > IIS> >> > > [url]http://mvp.support.microsoft.com/[/url]
> > > [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
> > >
> > >
> > >
> >
>
Richard Morey Guest
-
Richard Morey #6
Re: Directory Security via ASP / Or Adding user to Win2000 users
Hi..
Probably.. thanks for pointing those out for me..
Rich
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bhapo8$1kl8@kcweb01.netnews.att.com...Administering> Isn't this what you want to do (3rd and 4th link)?
>
> Nov 27, 2001 - Learning ADSI - Part 2: Editing Users andIIS> Groups
>
>
>
> Oct 5, 2001 - Learning ADSI - Part 1: Adding Users To W2K
>
>
>
> --
> Tom Kaminski IIS MVP
> [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for runningyou> [url]http://mvp.support.microsoft.com/[/url]
> [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
>
> "Richard Morey" <rwmorey71@hotmail.com> wrote in message
> news:uVypIDNYDHA.1384@TK2MSFTNGP10.phx.gbl...> > Hi..
> >
> > Thanks for that link.. There are a lot of articles listed though. Canthe> stuff,> > tell me which once I want to be looking at?
> >
> > Also, it seems the titles on most of those articles refer to DOT NET> group> > but I'm just doing plain ASP as far as I know..
> >
> > Thanks again,
> >
> > Rich
> >
> > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> > news:bh8n2b$1kl5@kcweb01.netnews.att.com...> > > "Richard Morey" <rwmorey71@hotmail.com> wrote in message
> > > news:%23$DBCrCYDHA.536@TK2MSFTNGP10.phx.gbl...
> > > > What I'm thinking is that I'll set up the directories and assign a> > > > access to each directory.. My question then is, can I add users torunning> > > > "Local Users and Groups" for Windows 2000 via ASP?
> > >
> > > Yes you can. Start here: [url]http://www.15seconds.com/focus/ADSI.htm[/url]
> > >
> > > --
> > > Tom Kaminski IIS MVP
> > > [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for>> > IIS> >> > > [url]http://mvp.support.microsoft.com/[/url]
> > > [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
> > >
> > >
> > >
> >
>
Richard Morey Guest
-
Joerg #7
Re: Directory Security via ASP / Or Adding user to Win2000 users
Hi Rich,
I had the same problem. I write the following script to add users to
a local group.
Sincerly,
Joerg
******
dim server, group,user
group= "localGroupName"
server= "pcName"
user = "domainuser"
Set obj = GetObject("WinNT://" & server & ",computer")
set oGroup = obj.GetObject("group", group)
oGroup.ADD "WinNT:" & "//Domain" & "/" & user
If Err.Number <> 0 Then
Response.Write "could not add user to group<br>"
Response.End
End if
oGroup.SetInfo
set oGroup = nothing
set obj = nothing
Joerg Guest
-
Joerg #8
Re: Directory Security via ASP / Or Adding user to Win2000 users
Hi Rich,
I had the same problem. I write the following script to add users to
a local group.
Sincerly,
Joerg
******
dim server, group,user
group= "localGroupName"
server= "pcName"
user = "domainuser"
Set obj = GetObject("WinNT://" & server & ",computer")
set oGroup = obj.GetObject("group", group)
oGroup.ADD "WinNT:" & "//Domain" & "/" & user
If Err.Number <> 0 Then
Response.Write "could not add user to group<br>"
Response.End
End if
oGroup.SetInfo
set oGroup = nothing
set obj = nothing
Joerg Guest
-
James Monroe #9
Re: Directory Security via ASP / Or Adding user to Win2000 users
this is a decent application as far as that goes
[url]www.aspprotect.com[/url]
"Richard Morey" <rwmorey71@hotmail.com> wrote in message
news:uVypIDNYDHA.1384@TK2MSFTNGP10.phx.gbl...stuff,> Hi..
>
> Thanks for that link.. There are a lot of articles listed though. Can you
> tell me which once I want to be looking at?
>
> Also, it seems the titles on most of those articles refer to DOT NETgroup> but I'm just doing plain ASP as far as I know..
>
> Thanks again,
>
> Rich
>
> "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> news:bh8n2b$1kl5@kcweb01.netnews.att.com...> > "Richard Morey" <rwmorey71@hotmail.com> wrote in message
> > news:%23$DBCrCYDHA.536@TK2MSFTNGP10.phx.gbl...> > > What I'm thinking is that I'll set up the directories and assign a> IIS> >> > > access to each directory.. My question then is, can I add users to the
> > > "Local Users and Groups" for Windows 2000 via ASP?
> > Yes you can. Start here: [url]http://www.15seconds.com/focus/ADSI.htm[/url]
> >
> > --
> > Tom Kaminski IIS MVP
> > [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running>> > [url]http://mvp.support.microsoft.com/[/url]
> > [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
> >
> >
> >
>
James Monroe Guest
-
James Monroe #10
Re: Directory Security via ASP / Or Adding user to Win2000 users
this is a decent application as far as that goes
[url]www.aspprotect.com[/url]
"Richard Morey" <rwmorey71@hotmail.com> wrote in message
news:uVypIDNYDHA.1384@TK2MSFTNGP10.phx.gbl...stuff,> Hi..
>
> Thanks for that link.. There are a lot of articles listed though. Can you
> tell me which once I want to be looking at?
>
> Also, it seems the titles on most of those articles refer to DOT NETgroup> but I'm just doing plain ASP as far as I know..
>
> Thanks again,
>
> Rich
>
> "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> news:bh8n2b$1kl5@kcweb01.netnews.att.com...> > "Richard Morey" <rwmorey71@hotmail.com> wrote in message
> > news:%23$DBCrCYDHA.536@TK2MSFTNGP10.phx.gbl...> > > What I'm thinking is that I'll set up the directories and assign a> IIS> >> > > access to each directory.. My question then is, can I add users to the
> > > "Local Users and Groups" for Windows 2000 via ASP?
> > Yes you can. Start here: [url]http://www.15seconds.com/focus/ADSI.htm[/url]
> >
> > --
> > Tom Kaminski IIS MVP
> > [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running>> > [url]http://mvp.support.microsoft.com/[/url]
> > [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
> >
> >
> >
>
James Monroe Guest



Reply With Quote

