Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Aspx permission checker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Aspx permission checker

 Post Reply Post Reply
Author
pnp! View Drop Down
Newbie
Newbie


Joined: 04 October 2002
Location: Argentina
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote pnp! Quote  Post ReplyReply Direct Link To This Post Topic: Aspx permission checker
    Posted: 17 November 2003 at 10:10am

I want to see whether a windows NT user has permission to acces to a file (in a ntfs filesystem)
Can you help me with this? (I can't figure out how to do it)...

I use (in the web.config), impersonate=true, and ntlm securyty in iis. But I don't know how to check it.

I want to use the same as the 'asp's' PERMISSION CHECKER, it worked in this way
Set pmck = Server.CreateObject("MSWC.PermissionChecker")
boolean_Userhasacces= pmck.HasAccess("d:\inetpub\comoajtc\default.asp")
[maybe it can help you]

Thanks!!...

 

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2003 at 10:14am
Have a poke around the System.IO namespace, its bound to be in there
Back to Top
pnp! View Drop Down
Newbie
Newbie


Joined: 04 October 2002
Location: Argentina
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote pnp! Quote  Post ReplyReply Direct Link To This Post Posted: 17 November 2003 at 11:13am

Originally posted by Mart Mart wrote:

Have a poke around the System.IO namespace, its bound to be in there

Yes!... that's what I did!.. but I didn't find anything.. that's why I'm asking it here!

 

Thanks anyway!!

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 18 November 2003 at 1:25pm

I havent ever used this and im not sure if it can convert something like that but try using ASP to ASP.NET Migration assistant

http://www.asp.net/migrationassistants/asp2aspnet.aspx?tabin dex=0&tabid=1

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.