IIS Server Security - Re: Check User's Permissions on a file/folder in IIS 6.0 by ASP or

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > March 2005 > Re: Check User's Permissions on a file/folder in IIS 6.0 by ASP or





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Check User's Permissions on a file/folder in IIS 6.0 by ASP or
htv

2005-03-10, 8:48 pm

I want to get details user's permissions: read, write, read & execute, list
folder contents or full control permission. Can you tell me how to get
user's permissions by VBscript as following function
Example:
Public Function GetPermission(ByVal User, ByVal fileName) as byte
Dim MaskPermission
......
'How to code here?
.......
'return user's permission
GetPermission = MaskPermission
End Function

"Ken Schaefer" wrote:

> If you are using HTTP based authentication (eg Basic, Digest, Integrated
> Windows Authentication), then Windows does the check automatically for
> you...
>
> What exactly are you trying to accomplish?
>
> Cheers
> Ken
>
> "htv" <htv@discussions.microsoft.com> wrote in message
> news:52204558-2DE6-43DE-978E-59922D2D1FDD@microsoft.com...
> : Any one tell me how to check user's permissions on a file or folder when
> user
> : logon IIS. (Flat form: Win 2k3; IIS 6.0)
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com