Re: Check User's Permissions on a file/folder in IIS 6.0 by ASP or
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Re: Check User's Permissions on a file/folder in IIS 6.0 by ASP or




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-11-05 01:48 AM

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)
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:00 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register