Set File/User Permission with ASP/VBScript to a File

Set File/User Permission with ASP/VBScript to a File

am 26.07.2007 23:35:58 von david.didonato

hi

i would like to add a user and set file permission to a file with ASP.
(No component). is that possible ?
do you have a link ? an example ?

thanks david

Re: Set File/User Permission with ASP/VBScript to a File

am 27.07.2007 16:56:25 von Anthony Jones

wrote in message
news:1185485758.164906.232120@r34g2000hsd.googlegroups.com.. .
> hi
>
> i would like to add a user and set file permission to a file with ASP.
> (No component). is that possible ?
> do you have a link ? an example ?
>

You might be better off asking this question in the scripting.vbscript group
as a VBScript question (don't mention ASP initially).

You then need to make sure that the code runs with appropriate permissions
which would probably mean ensuring the page has anonymous access turned off,
integrated security turned on and is visited by a user who has the
appropriate access to perform the operation.

--
Anthony Jones - MVP ASP/ASP.NET