Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to give ACL permissions to ASPNET account

Reply
Thread Tools

How to give ACL permissions to ASPNET account

 
 
djoledjole
Guest
Posts: n/a
 
      04-06-2005
I must give ACL permissions to ASPNET account on the file.How to do this
from ASP.NET code(VB.NET)

 
Reply With Quote
 
 
 
 
James Steele
Guest
Posts: n/a
 
      04-06-2005
Hi djoledjole,

1) You will have to use the Win32 API call SetNamedSecurityInfo API
function from advapi32.dll. A big pain.

or

2) Have your app use cacls.exe [resource] /E /G: [user_account]:F

Dino Esposito explains this all very nicely on his weblog.

http://weblogs.asp.net/despos/archiv.../22/45090.aspx

Enjoy!

 
Reply With Quote
 
 
 
 
djoledjole
Guest
Posts: n/a
 
      04-08-2005
Woderfull that is what I need for
Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASPNET account permissions Paul Aspinall ASP .Net 5 03-07-2006 09:12 PM
ASPNET Account Permissions for .NET 2.0? =?Utf-8?B?cGFsYWt3YWlfOTE5?= ASP .Net 4 08-17-2005 08:34 PM
Permissions Issues with ASPNET Account =?Utf-8?B?WW9nZXNoIFBhbmNob2xp?= ASP .Net 2 04-21-2005 04:41 PM
Permissions for ASPNET Account Simon Harris ASP .Net 2 01-06-2005 08:15 AM
Using the Jscript to update the ASPNET account to have the needed permissions Giang Thanh via .NET 247 ASP .Net Security 0 05-06-2004 08:29 AM



Advertisments