Re: Set folder Permissions - WeOnlyDo Discussion board

Re: Set folder Permissions (General questions)

by Brian Henry, Saturday, September 19, 2009, 04:17 (5543 days ago) @ Brian Henry

OK, I'm trying this code with no luck. I want to block access to a folder. Any help would be cool.

[code]
Private Sub web1_RequestDoneEvent(ByVal Sender As Object, ByVal Args As WeOnlyDo.Server.WebRequestDoneArgs) Handles web1.RequestDoneEvent
If Args.Request.PageName = Test Then
Args.User.Response.StatusCode = WeOnlyDo.Server.StatusCodes.Unauthorized
Else
Args.User.Response.StatusCode = WeOnlyDo.Server.StatusCodes.OK
End If
End Sub
[/code]


Complete thread: